mirror of
https://github.com/friendica/friendica
synced 2025-04-24 22:30:11 +00:00
Improve photo loading speed
This commit is contained in:
parent
3ed4f427bf
commit
7f56e2e7a9
7 changed files with 103 additions and 29 deletions
|
@ -117,11 +117,11 @@ class View
|
|||
$sql = sprintf("DROP TABLE IF EXISTS `%s`", DBA::escape($name));
|
||||
}
|
||||
|
||||
if ($verbose) {
|
||||
if (!empty($sql) && $verbose) {
|
||||
echo $sql . ";\n";
|
||||
}
|
||||
|
||||
if ($action) {
|
||||
if (!empty($sql) && $action) {
|
||||
DBA::e($sql);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue