mirror of
https://github.com/friendica/friendica
synced 2024-11-10 07:42:53 +00:00
no need for this else block
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
0436782e70
commit
d80b82c55d
1 changed files with 1 additions and 2 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue