예제 #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());
 }