[Web] Do not try to update sogo static view with skip_sogo y
This commit is contained in:
parent
2007b0ffc9
commit
a6247fc13f
@ -555,6 +555,9 @@ function formatBytes($size, $precision = 2) {
|
|||||||
return round(pow(1024, $base - floor($base)), $precision) . $suffixes[floor($base)];
|
return round(pow(1024, $base - floor($base)), $precision) . $suffixes[floor($base)];
|
||||||
}
|
}
|
||||||
function update_sogo_static_view() {
|
function update_sogo_static_view() {
|
||||||
|
if (getenv('SKIP_SOGO') == "y") {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
global $pdo;
|
global $pdo;
|
||||||
global $lang;
|
global $lang;
|
||||||
$stmt = $pdo->query("SELECT 'OK' FROM INFORMATION_SCHEMA.TABLES
|
$stmt = $pdo->query("SELECT 'OK' FROM INFORMATION_SCHEMA.TABLES
|
||||||
|
Loading…
Reference in New Issue
Block a user