diff options
author | Roeland Douma <rullzer@users.noreply.github.com> | 2016-05-03 07:40:04 +0200 |
---|---|---|
committer | Roeland Douma <rullzer@users.noreply.github.com> | 2016-05-03 07:40:04 +0200 |
commit | c87bd0432a3940cc30b6d78020d85acba9b04a68 (patch) | |
tree | e353b5bc1590c34a643b876b1f340b04b11c7e6e /lib/private | |
parent | 05cf552f6686adf52ccabe0ccaf6898eb72936e0 (diff) | |
parent | 7bfc617b03528d4755e6fe01dc9fd0d5731621fc (diff) | |
download | nextcloud-server-c87bd0432a3940cc30b6d78020d85acba9b04a68.tar.gz nextcloud-server-c87bd0432a3940cc30b6d78020d85acba9b04a68.zip |
Merge pull request #24380 from owncloud/move-activity-manager-to-namespace
Move activity manager to the namespace
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Activity/Manager.php (renamed from lib/private/ActivityManager.php) | 5 | ||||
-rw-r--r-- | lib/private/Server.php | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/private/ActivityManager.php b/lib/private/Activity/Manager.php index e522dca9e3b..e68802b2abb 100644 --- a/lib/private/ActivityManager.php +++ b/lib/private/Activity/Manager.php @@ -20,10 +20,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/> * */ -namespace OC; +namespace OC\Activity; -use OC\Activity\Event; use OCP\Activity\IConsumer; use OCP\Activity\IEvent; use OCP\Activity\IExtension; @@ -33,7 +32,7 @@ use OCP\IRequest; use OCP\IUser; use OCP\IUserSession; -class ActivityManager implements IManager { +class Manager implements IManager { /** @var IRequest */ protected $request; diff --git a/lib/private/Server.php b/lib/private/Server.php index 11cce494418..17cb7ee39cc 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -313,7 +313,7 @@ class Server extends ServerContainer implements IServerContainer { ); }); $this->registerService('ActivityManager', function (Server $c) { - return new ActivityManager( + return new \OC\Activity\Manager( $c->getRequest(), $c->getUserSession(), $c->getConfig() |