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