diff --git a/lib/private/l10n.php b/lib/private/l10n.php
index 7835285bd49036e098de2d9c1bae42c6b1cd566e..cef4f7b45ab7fef94ba789969efbe6f4253e9354 100644
--- a/lib/private/l10n.php
+++ b/lib/private/l10n.php
@@ -76,17 +76,6 @@ class OC_L10N implements \OCP\IL10N {
 	 */
 	private $pluralFormFunction = null;
 
-	/**
-	 * get an L10N instance
-	 * @param string $app
-	 * @param string|null $lang
-	 * @return \OCP\IL10N
-	 * @deprecated Use \OC::$server->getL10NFactory()->get() instead
-	 */
-	public static function get($app, $lang=null) {
-		return \OC::$server->getL10NFactory()->get($app, $lang);
-	}
-
 	/**
 	 * The constructor
 	 * @param string $app app requesting l10n
diff --git a/tests/lib/l10n.php b/tests/lib/l10n.php
index 631432caea2e49ae2c5a68a6083fd5245f168937..d77548c5bf5513940c1171d75b01129f254099ad 100644
--- a/tests/lib/l10n.php
+++ b/tests/lib/l10n.php
@@ -156,11 +156,6 @@ class Test_L10n extends \Test\TestCase {
 		);
 	}
 
-	public function testGetLanguageCode() {
-		$l = OC_L10N::get('lib', 'de');
-		$this->assertEquals('de', $l->getLanguageCode());
-	}
-
 	public function testFactoryGetLanguageCode() {
 		$factory = new \OC\L10N\Factory();
 		$l = $factory->get('lib', 'de');