Spaces - re-jigger application name for new Spaces application

Summary: got some errors in my sandbox when I updated. this fixes them and I think is the right naming convention.

Test Plan: /settings/panel/emailpreferences/ started working again!  /spaces/ also loaded  unit tests passed without errors

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T8377

Differential Revision: https://secure.phabricator.com/D13103
This commit is contained in:
Bob Trahan
2015-06-01 14:54:18 -07:00
parent 76523eec67
commit c83ddc3a0e
4 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
<?php
final class PhabricatorApplicationSpaces extends PhabricatorApplication {
final class PhabricatorSpacesApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/spaces/';

View File

@@ -23,7 +23,7 @@ final class PhabricatorSpacesNamespaceQuery
}
public function getQueryApplicationClass() {
return 'PhabricatorApplicationSpaces';
return 'PhabricatorSpacesApplication';
}
protected function loadPage() {

View File

@@ -15,7 +15,7 @@ final class PhabricatorSpacesNamespace
public static function initializeNewNamespace(PhabricatorUser $actor) {
$app = id(new PhabricatorApplicationQuery())
->setViewer($actor)
->withClasses(array('PhabricatorApplicationSpaces'))
->withClasses(array('PhabricatorSpacesApplication'))
->executeOne();
$view_policy = $app->getPolicy(