kopia lustrzana
https://github.com/nextcloud/server.git
synced 2024-07-25 13:54:59 +02:00
fixing undefined exception classes
This commit is contained in:
rodzic
240d1ae6b9
commit
85e7921b14
@ -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;
|
||||
|
Ładowanie…
Reference in New Issue
Block a user