diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-04-07 20:57:08 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-04-07 20:57:08 +0200 |
commit | 85e7921b149cf555e5c5f81837da5cd68696014a (patch) | |
tree | df6567ae0fd8e1a962182518ad5286486e769b23 | |
parent | 240d1ae6b9aa506de4c21e93258a17b23052ac5e (diff) | |
download | nextcloud-server-85e7921b149cf555e5c5f81837da5cd68696014a.tar.gz nextcloud-server-85e7921b149cf555e5c5f81837da5cd68696014a.zip |
fixing undefined exception classes
-rw-r--r-- | lib/public/config.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/config.php b/lib/public/config.php index bb973939f44..8e3791b449b 100644 --- a/lib/public/config.php +++ b/lib/public/config.php @@ -64,7 +64,7 @@ class Config { public static function setSystemValue( $key, $value ) { try { \OC_Config::setValue( $key, $value ); - } catch (Exception $e) { + } catch (\Exception $e) { return false; } return true; @@ -96,7 +96,7 @@ class Config { public static function setAppValue( $app, $key, $value ) { try { \OC_Appconfig::setValue( $app, $key, $value ); - } catch (Exception $e) { + } catch (\Exception $e) { return false; } return true; @@ -131,7 +131,7 @@ class Config { public static function setUserValue( $user, $app, $key, $value ) { try { \OC_Preferences::setValue( $user, $app, $key, $value ); - } catch (Exception $e) { + } catch (\Exception $e) { return false; } return true; |