We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 3056b109 authored by Evan Prodromou's avatar Evan Prodromou

Quietly skip trying to load config if there's an error in DB

parent 9948523c
...@@ -59,9 +59,13 @@ class Config extends Managed_DataObject ...@@ -59,9 +59,13 @@ class Config extends Managed_DataObject
static function loadSettings() static function loadSettings()
{ {
$settings = self::_getSettings(); try {
if (!empty($settings)) { $settings = self::_getSettings();
self::_applySettings($settings); if (!empty($settings)) {
self::_applySettings($settings);
}
} catch (Exception $e) {
return;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment