Beispiel #1
0
 /**
  * Checks whether the current version needs upgrade.
  *
  * @return bool true if upgrade is needed, false otherwise
  */
 public static function needUpgrade()
 {
     return \OC_Util::needUpgrade();
 }
Beispiel #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;
 }
Beispiel #3
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()
 {
     return \OC_Util::needUpgrade(\OC::$server->getConfig());
 }