]> source.dussan.org Git - nextcloud-server.git/commitdiff
move l10n factory into private
authorThomas Müller <thomas.mueller@tmit.eu>
Mon, 7 Oct 2013 07:38:35 +0000 (09:38 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Mon, 7 Oct 2013 08:00:23 +0000 (10:00 +0200)
lib/l10n/factory.php [deleted file]
lib/private/l10n/factory.php [new file with mode: 0644]

diff --git a/lib/l10n/factory.php b/lib/l10n/factory.php
deleted file mode 100644 (file)
index ba16887..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-/**
- * Copyright (c) 2013 Bart Visscher <bartv@thisnet.nl>
- * This file is licensed under the Affero General Public License version 3 or
- * later.
- * See the COPYING-README file.
- *
- */
-
-namespace OC\L10N;
-
-/**
- * TODO: Description
- */
-class Factory {
-       /**
-        * cached instances
-        */
-       protected $instances = array();
-
-       /**
-        * get an L10N instance
-        * @param $app string
-        * @param $lang string|null
-        * @return OC_L10N
-        */
-       public function get($app) {
-               if (!isset($this->instances[$app])) {
-                       $this->instances[$app] = new \OC_L10N($app);
-               }
-               return $this->instances[$app];
-       }
-
-}
diff --git a/lib/private/l10n/factory.php b/lib/private/l10n/factory.php
new file mode 100644 (file)
index 0000000..ba16887
--- /dev/null
@@ -0,0 +1,34 @@
+<?php
+/**
+ * Copyright (c) 2013 Bart Visscher <bartv@thisnet.nl>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ *
+ */
+
+namespace OC\L10N;
+
+/**
+ * TODO: Description
+ */
+class Factory {
+       /**
+        * cached instances
+        */
+       protected $instances = array();
+
+       /**
+        * get an L10N instance
+        * @param $app string
+        * @param $lang string|null
+        * @return OC_L10N
+        */
+       public function get($app) {
+               if (!isset($this->instances[$app])) {
+                       $this->instances[$app] = new \OC_L10N($app);
+               }
+               return $this->instances[$app];
+       }
+
+}