aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-01-20 10:17:46 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-01-20 10:23:52 +0100
commitb97fe978753ca72412ad6d868a1c4cb3f53eb82e (patch)
treee7b8487e624208b181a4f04cab8673ac15ba0b71
parent90085278494c5985e718221531bfe2933c23c722 (diff)
downloadnextcloud-server-b97fe978753ca72412ad6d868a1c4cb3f53eb82e.tar.gz
nextcloud-server-b97fe978753ca72412ad6d868a1c4cb3f53eb82e.zip
move avatar controller to core/controller
-rw-r--r--core/application.php2
-rw-r--r--core/controller/avatarcontroller.php (renamed from core/avatar/avatarcontroller.php)4
-rw-r--r--tests/core/controller/avatarcontrollertest.php (renamed from tests/core/avatar/avatarcontrollertest.php)4
3 files changed, 5 insertions, 5 deletions
diff --git a/core/application.php b/core/application.php
index bfe79f89938..996a612105d 100644
--- a/core/application.php
+++ b/core/application.php
@@ -31,7 +31,7 @@ use OC\AppFramework\Utility\TimeFactory;
use \OCP\AppFramework\App;
use OC\Core\LostPassword\Controller\LostController;
use OC\Core\User\UserController;
-use OC\Core\Avatar\AvatarController;
+use OC\Core\Controller\AvatarController;
use \OCP\Util;
/**
diff --git a/core/avatar/avatarcontroller.php b/core/controller/avatarcontroller.php
index 8a9219964a5..adfe38ab2db 100644
--- a/core/avatar/avatarcontroller.php
+++ b/core/controller/avatarcontroller.php
@@ -24,7 +24,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-namespace OC\Core\Avatar;
+namespace OC\Core\Controller;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;
@@ -42,7 +42,7 @@ use OCP\Files\Folder;
/**
* Class AvatarController
*
- * @package OC\Core\Avatar
+ * @package OC\Core\Controller
*/
class AvatarController extends Controller {
diff --git a/tests/core/avatar/avatarcontrollertest.php b/tests/core/controller/avatarcontrollertest.php
index 9e46e1782af..8e5e58904a7 100644
--- a/tests/core/avatar/avatarcontrollertest.php
+++ b/tests/core/controller/avatarcontrollertest.php
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-namespace OC\Core\Avatar;
+namespace OC\Core\Controller;
use OC;
use OC\Core\Application;
@@ -45,7 +45,7 @@ function is_uploaded_file($filename) {
*
* @group DB
*
- * @package OC\Core\Avatar
+ * @package OC\Core\Controller
*/
class AvatarControllerTest extends \Test\TestCase {
use UserTrait;