From: Roland Haeder Date: Wed, 21 Dec 2016 21:53:08 +0000 (+0100) Subject: no need for this else block X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d80b82c55d912f4de356923d504fc7594c89918b;p=friendica.git no need for this else block Signed-off-by: Roland Haeder --- diff --git a/mod/proxy.php b/mod/proxy.php index e14f08570c..a8c24cf088 100644 --- a/mod/proxy.php +++ b/mod/proxy.php @@ -136,6 +136,7 @@ function proxy_init(App $a) { } $valid = true; + $r = array(); if (!$direct_cache AND ($cachefile == '')) { $r = qu("SELECT * FROM `photo` WHERE `resource-id` = '%s' LIMIT 1", $urlhash); @@ -158,8 +159,6 @@ function proxy_init(App $a) { ======= >>>>>>> upstream/develop } - } else { - $r = array(); } if (!dbm::is_result($r)) {