summaryrefslogtreecommitdiffstats
path: root/lib/public/util.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/util.php')
-rw-r--r--lib/public/util.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/util.php b/lib/public/util.php
index d1faec3997f..8f4691eeade 100644
--- a/lib/public/util.php
+++ b/lib/public/util.php
@@ -516,4 +516,13 @@ class Util {
public static function isPublicLinkPasswordRequired() {
return \OC_Util::isPublicLinkPasswordRequired();
}
+
+ /**
+ * Checks whether the current version needs upgrade.
+ *
+ * @return bool true if upgrade is needed, false otherwise
+ */
+ public static function needUpgrade() {
+ return \OC_Util::needUpgrade();
+ }
}