diff --git a/lib/base.php b/lib/base.php
index 7db4ec4a8fadd5be56f72f820ca9865bbc26afed..7659148c14084d62ab85bdc27abbfac78855687d 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -338,16 +338,6 @@ class OC {
 		die();
 	}
 
-	/**
-	 * check if the instance needs to perform an upgrade
-	 *
-	 * @return bool
-	 * @deprecated use \OCP\Util::needUpgrade() instead
-	 */
-	public static function needUpgrade() {
-		return \OCP\Util::needUpgrade();
-	}
-
 	/**
 	 * Checks if the version requires an update and shows
 	 * @param bool $showTemplate Whether an update screen should get shown
diff --git a/lib/public/backgroundjob.php b/lib/public/backgroundjob.php
index 69397bb3e4513935ccc4583f846395a3d6dc0255..f532a97c74798e62fb274556c7040cddac4b4a97 100644
--- a/lib/public/backgroundjob.php
+++ b/lib/public/backgroundjob.php
@@ -99,7 +99,7 @@ class BackgroundJob {
 	 * @since 4.5.0
 	 */
 	public static function addRegularTask($klass, $method) {
-		if (!\OC::needUpgrade()) {
+		if (!\OCP\Util::needUpgrade()) {
 			self::registerJob('OC\BackgroundJob\Legacy\RegularJob', array($klass, $method));
 			return true;
 		}