Browse Source

no need for this else block

Signed-off-by: Roland Haeder <roland@mxchange.org>
pull/3043/head
Roland Haeder 5 years ago
parent
commit
e6a4a736fc
No known key found for this signature in database GPG Key ID: B72F8185C6C7BD78
  1. 3
      mod/proxy.php

3
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);
@ -146,8 +147,6 @@ function proxy_init(App $a) {
$mime = 'image/jpeg';
}
}
} else {
$r = array();
}
if (!dbm::is_result($r)) {

Loading…
Cancel
Save