diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-06-23 15:15:50 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-06-23 15:15:50 +0200 |
commit | 8c8209828126a55b9bf775e00cbc14d7ef7db5ae (patch) | |
tree | b2f3f5f656f543166a6883f02146e8b0a888c381 /lib/public/util.php | |
parent | 4d216e8e2abacde86de6acb10d0316b292594882 (diff) | |
parent | 799205488cf82312586f99185e13df6015caa2ff (diff) | |
download | nextcloud-server-8c8209828126a55b9bf775e00cbc14d7ef7db5ae.tar.gz nextcloud-server-8c8209828126a55b9bf775e00cbc14d7ef7db5ae.zip |
Merge pull request #8974 from owncloud/router-preventloadappsonupgrade
Prevent loadApps on upgrade
Diffstat (limited to 'lib/public/util.php')
-rw-r--r-- | lib/public/util.php | 9 |
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(); + } } |