aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Util.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Util.php')
-rw-r--r--lib/public/Util.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/public/Util.php b/lib/public/Util.php
index 72f061afb45..9610ab909be 100644
--- a/lib/public/Util.php
+++ b/lib/public/Util.php
@@ -60,23 +60,23 @@ class Util {
/**
* @deprecated 14.0.0 use \OCP\ILogger::DEBUG
*/
- public const DEBUG=0;
+ public const DEBUG = 0;
/**
* @deprecated 14.0.0 use \OCP\ILogger::INFO
*/
- public const INFO=1;
+ public const INFO = 1;
/**
* @deprecated 14.0.0 use \OCP\ILogger::WARN
*/
- public const WARN=2;
+ public const WARN = 2;
/**
* @deprecated 14.0.0 use \OCP\ILogger::ERROR
*/
- public const ERROR=3;
+ public const ERROR = 3;
/**
* @deprecated 14.0.0 use \OCP\ILogger::FATAL
*/
- public const FATAL=4;
+ public const FATAL = 4;
/** \OCP\Share\IManager */
private static $shareManager;
@@ -204,7 +204,7 @@ class Util {
* @param string $text the text content for the element
* @since 4.0.0
*/
- public static function addHeader($tag, $attributes, $text=null) {
+ public static function addHeader($tag, $attributes, $text = null) {
\OC_Util::addHeader($tag, $attributes, $text);
}
@@ -513,7 +513,7 @@ class Util {
*/
public static function needUpgrade() {
if (!isset(self::$needUpgradeCache)) {
- self::$needUpgradeCache=\OC_Util::needUpgrade(\OC::$server->getSystemConfig());
+ self::$needUpgradeCache = \OC_Util::needUpgrade(\OC::$server->getSystemConfig());
}
return self::$needUpgradeCache;
}