Browse Source

Continued with coding convention:

- 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>
pull/3043/head
Roland Haeder 5 years ago
parent
commit
89319d9579
No known key found for this signature in database GPG Key ID: B72F8185C6C7BD78
  1. 1
      mod/noscrape.php

1
mod/noscrape.php

@ -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']));

Loading…
Cancel
Save