]> git.mxchange.org Git - friendica.git/commitdiff
Continued with coding convention:
authorRoland Haeder <roland@mxchange.org>
Tue, 20 Dec 2016 20:31:05 +0000 (21:31 +0100)
committerRoland Haeder <roland@mxchange.org>
Fri, 23 Dec 2016 18:51:09 +0000 (19:51 +0100)
- added curly braces around conditional code blocks
- added space between if/foreach/... and brace
- made some SQL keywords upper-cased and added back-ticks to columns/table names

Signed-off-by: Roland Haeder <roland@mxchange.org>
mod/noscrape.php

index 33255f0fa4214e6c1df1dbb8897c3f778b598368..758ce8ba5316f1b889d605543d48892629a5aa43 100644 (file)
@@ -26,7 +26,6 @@ function noscrape_init(App &$a) {
        $keywords = str_replace(array('#',',',' ',',,'),array('',' ',',',','),$keywords);
        $keywords = explode(',', $keywords);
 
-       /// @TODO This query's result is not being used (see below), maybe old-lost code?
        $r = q("SELECT `photo` FROM `contact` WHERE `self` AND `uid` = %d",
                intval($a->profile['uid']));