示例#1
0
文件: util.php 项目: pinoniq/core
 /**
  * Checks whether the current version needs upgrade.
  *
  * @return bool true if upgrade is needed, false otherwise
  */
 public static function needUpgrade()
 {
     return \OC_Util::needUpgrade();
 }
示例#2
0
 /**
  * Checks whether the current version needs upgrade.
  *
  * @return bool true if upgrade is needed, false otherwise
  * @since 7.0.0
  */
 public static function needUpgrade()
 {
     if (!isset(self::$needUpgradeCache)) {
         self::$needUpgradeCache = \OC_Util::needUpgrade(\OC::$server->getConfig());
     }
     return self::$needUpgradeCache;
 }
示例#3
0
文件: util.php 项目: samj1912/repo
 /**
  * Checks whether the current version needs upgrade.
  *
  * @return bool true if upgrade is needed, false otherwise
  * @since 7.0.0
  */
 public static function needUpgrade()
 {
     return \OC_Util::needUpgrade(\OC::$server->getConfig());
 }