9cfcf8f7ca
added spaces, marked in todos.txt as usual
Roland Haeder
2017-03-31 20:47:23 +02:00
eab654dd65
$tagged is being initialized but not written to until the foreach() loop is being executed. Maybe here is old-lost code anyway?
Roland Haeder
2017-03-31 20:44:38 +02:00
8bdc906013
Continued a bit: - added 'array' type-hint which is valid for many versions back - added spaces as requested by CR - removed $a = get_app(); call, $a was no longer needed here
Roland Haeder
2017-03-31 20:41:32 +02:00
8824da8962
Continued a bit: - recommended way is to use foreach() instead of own looping through arrays - even when you need the index: <?php foreach ($someArray as $key => $value) { // Handle $key/$value somehow } ?>
Roland Haeder
2017-03-31 20:36:01 +02:00
6db3d72ee3
added spaces (space-time!) and TODO that x() is maybe proper way?
Roland Haeder
2017-03-31 20:32:52 +02:00
d98ac6b42d
Continued a bit: - removed parentheses from include/require as they are no functions - added type-hint for $a which is unused btw.
Roland Haeder
2017-03-31 20:30:21 +02:00
5db963a835
fixed parser error
Roland Haeder
2017-03-31 20:05:15 +02:00
3796a141c6
We don't need this include anymore
Michael
2017-03-31 06:25:48 +00:00
1560534621
Now it's openssl - and no copy&paste failure anymore
Michael
2017-03-31 06:22:43 +00:00
973fcd3624
Test with OpenSSL
Michael
2017-03-30 23:21:52 +00:00
0bc15efef6
whoops, parser error fixed
Roland Haeder
2017-03-30 21:51:31 +02:00
16415520e7
it is space-time! ;-)
Roland Haeder
2017-03-30 21:50:19 +02:00
192f6d7cf4
merged 2 if() into one three times
Roland Haeder
2017-03-30 21:48:46 +02:00
de5125a4c7
merged 2 if() into one as requested by CR
Roland Haeder
2017-03-30 21:45:35 +02:00
2a480df6fa
added spaces + removed parentheses (include/require are no functions)
Roland Haeder
2017-03-30 21:44:32 +02:00
6b8f581897
added spaces
Roland Haeder
2017-03-30 21:42:00 +02:00
f998438d43
removed old-lost code by CR request
Roland Haeder
2017-03-30 21:38:22 +02:00
5bc2ebb267
Please use x() correctly:
Roland Haeder
2017-03-30 21:36:34 +02:00
3d595c4dcc
Continued a bit: - added spaces / curly braces - converted multiple single-line comments into one multi-line comment - used more dbm::is_result() - include/require are no functions, let's not abuse them ...
Roland Haeder
2017-03-30 21:32:12 +02:00
d091759888
space to the rescue ... ;-) CR request
Roland Haeder
2017-03-30 20:33:38 +02:00
9c056d0bf0
it is ... SPACE TIME! ;-)
Roland Haeder
2017-03-30 20:30:23 +02:00
54c8fb2bb8
Replaces mcrypt with phpsec.
Michael
2017-03-30 18:29:12 +00:00
e0f4d22049
removed old-lost code by CR request + spaces added ...
Roland Haeder
2017-03-30 20:26:36 +02:00
32da3b2f58
removed commented-out by CR request + it is ... SPACE TIME! ;-)
Roland Haeder
2017-03-30 20:24:55 +02:00
0ac1af7300
spaces added according code convention and CR + fixed tzpo in function name (opps)
Roland Haeder
2017-03-30 20:22:03 +02:00
adf9ed64bb
Avoid API error when calling "/api/friendica/profile/show"
Michael
2017-03-25 14:16:21 +00:00
66f5e104b1
and without self:: ;-(
Roland Haeder
2017-03-25 15:13:28 +01:00
952f2218ed
there is already $this->backend around, needs renaming
Roland Haeder
2017-03-25 15:12:24 +01:00
0e6b009425
fixed another parser error, opps
Roland Haeder
2017-03-25 14:57:40 +01:00
fccdc63964
Opps, fixed parser error. indending was confusing here
Roland Haeder
2017-03-25 14:56:23 +01:00
73ee285212
rewrote for() loop to foreach() + added curly braces/spaces
Roland Haeder
2017-03-25 14:32:49 +01:00
006b4b88b2
Continued: - added curly braces/spaces - converted multiple single-line comments into one multi-line comment
Roland Haeder
2017-03-25 14:07:26 +01:00
4d731dd838
Convention: - comment blocks with 2 stars at beinging are doc-tags, with only star is a regular multi-line comment - added curly braces + spaces - removed TODO, there needs to be a way of writing this better than using @
Roland Haeder
2017-03-25 13:56:56 +01:00
a391ab9a99
was a bit confusing for me or I was not sleeping to much ...
Roland Haeder
2017-03-25 13:46:28 +01:00
89bd080e7e
don't kill when no result is found, this may break communication, thanks to @annando explaining it
Roland Haeder
2017-03-25 13:40:43 +01:00
6d5826e188
PHP5 does not support native type-hints, except array + used dbm::is_result()
Roland Haeder
2017-03-25 13:37:15 +01:00
83dec2f815
fixed indending + closed own internal todo: better usage of x()
Roland Haeder
2017-03-25 13:33:15 +01:00
48a1d97f46
closed internal TODO, added parentheses as this is a minimized if/else block
Roland Haeder
2017-03-25 13:30:12 +01:00
b830d839f0
added a space
Roland Haeder
2017-03-25 13:27:38 +01:00
1d48801d70
Continued: - added spaces - made a code block even
Roland Haeder
2017-03-25 13:25:33 +01:00
177a0c8320
Continued: - used dbm::is_result() to avoid E_WARNING when false is returned - added curly braces + some spaces
Roland Haeder
2017-03-25 13:22:39 +01:00
e503141b0c
added spaces and curly braces
Roland Haeder
2017-03-25 13:18:28 +01:00
67707247c8
Continued: - added curly braces/spaces - changed lower-case SQL keywords to upper-case - used dbm::is_result() instead of count() (avoids warning in case of false is returned)
Roland Haeder
2017-03-25 13:14:50 +01:00
c1287df655
removed old-lost code + internal TODO closed
Roland Haeder
2017-03-25 13:12:25 +01:00
fd468f20fd
merged 2 if() into one, closes internal TODO
Roland Haeder
2017-03-25 13:08:38 +01:00