summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-04-07 20:57:08 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-04-07 20:57:08 +0200
commit85e7921b149cf555e5c5f81837da5cd68696014a (patch)
treedf6567ae0fd8e1a962182518ad5286486e769b23
parent240d1ae6b9aa506de4c21e93258a17b23052ac5e (diff)
downloadnextcloud-server-85e7921b149cf555e5c5f81837da5cd68696014a.tar.gz
nextcloud-server-85e7921b149cf555e5c5f81837da5cd68696014a.zip
fixing undefined exception classes
-rw-r--r--lib/public/config.php6
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;