aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/preferences.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy/preferences.php')
-rw-r--r--lib/private/legacy/preferences.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/legacy/preferences.php b/lib/private/legacy/preferences.php
index 060274085fe..4b68b0e69aa 100644
--- a/lib/private/legacy/preferences.php
+++ b/lib/private/legacy/preferences.php
@@ -21,10 +21,11 @@
*
*/
+OC_Preferences::$object = new \OC\Preferences(OC_DB::getConnection());
/**
* This class provides an easy way for storing user preferences.
+ * @deprecated use \OC\Preferences instead
*/
-OC_Preferences::$object = new \OC\Preferences(OC_DB::getConnection());
class OC_Preferences{
public static $object;
/**