mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 13:30:55 +01:00
Fix Repository tool's missing app link
Summary: the Repository tool is missing the standard application link at the top. The reason is that PhabricatorRepositoryListController and several other classes are inheriting from a wrong class. Test Plan: play with the application to make sure it is not breaking other stuff. Reviewed By: epriestley Reviewers: epriestley CC: jungejason, epriestley Differential Revision: 70
This commit is contained in:
parent
ec084ca419
commit
6949807c51
6 changed files with 9 additions and 6 deletions
|
@ -16,7 +16,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class PhabricatorRepositoryCreateController extends PhabricatorController {
|
class PhabricatorRepositoryCreateController
|
||||||
|
extends PhabricatorRepositoryController {
|
||||||
|
|
||||||
public function processRequest() {
|
public function processRequest() {
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
|
|
||||||
phutil_require_module('phabricator', 'aphront/response/redirect');
|
phutil_require_module('phabricator', 'aphront/response/redirect');
|
||||||
phutil_require_module('phabricator', 'applications/base/controller/base');
|
phutil_require_module('phabricator', 'applications/repository/controller/base');
|
||||||
phutil_require_module('phabricator', 'applications/repository/storage/repository');
|
phutil_require_module('phabricator', 'applications/repository/storage/repository');
|
||||||
phutil_require_module('phabricator', 'view/form/base');
|
phutil_require_module('phabricator', 'view/form/base');
|
||||||
phutil_require_module('phabricator', 'view/form/control/submit');
|
phutil_require_module('phabricator', 'view/form/control/submit');
|
||||||
|
|
|
@ -16,7 +16,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class PhabricatorRepositoryEditController extends PhabricatorController {
|
class PhabricatorRepositoryEditController
|
||||||
|
extends PhabricatorRepositoryController {
|
||||||
|
|
||||||
private $id;
|
private $id;
|
||||||
private $view;
|
private $view;
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
|
|
||||||
phutil_require_module('phabricator', 'aphront/response/404');
|
phutil_require_module('phabricator', 'aphront/response/404');
|
||||||
phutil_require_module('phabricator', 'aphront/response/redirect');
|
phutil_require_module('phabricator', 'aphront/response/redirect');
|
||||||
phutil_require_module('phabricator', 'applications/base/controller/base');
|
|
||||||
phutil_require_module('phabricator', 'applications/differential/constants/revisioncontrolsystem');
|
phutil_require_module('phabricator', 'applications/differential/constants/revisioncontrolsystem');
|
||||||
|
phutil_require_module('phabricator', 'applications/repository/controller/base');
|
||||||
phutil_require_module('phabricator', 'applications/repository/storage/githubnotification');
|
phutil_require_module('phabricator', 'applications/repository/storage/githubnotification');
|
||||||
phutil_require_module('phabricator', 'applications/repository/storage/repository');
|
phutil_require_module('phabricator', 'applications/repository/storage/repository');
|
||||||
phutil_require_module('phabricator', 'infrastructure/env');
|
phutil_require_module('phabricator', 'infrastructure/env');
|
||||||
|
|
|
@ -16,7 +16,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class PhabricatorRepositoryListController extends PhabricatorController {
|
class PhabricatorRepositoryListController
|
||||||
|
extends PhabricatorRepositoryController {
|
||||||
|
|
||||||
|
|
||||||
public function processRequest() {
|
public function processRequest() {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
phutil_require_module('phabricator', 'applications/base/controller/base');
|
phutil_require_module('phabricator', 'applications/repository/controller/base');
|
||||||
phutil_require_module('phabricator', 'applications/repository/storage/repository');
|
phutil_require_module('phabricator', 'applications/repository/storage/repository');
|
||||||
phutil_require_module('phabricator', 'view/control/table');
|
phutil_require_module('phabricator', 'view/control/table');
|
||||||
phutil_require_module('phabricator', 'view/layout/panel');
|
phutil_require_module('phabricator', 'view/layout/panel');
|
||||||
|
|
Loading…
Reference in a new issue