mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-11 07:11:04 +01:00
Minor, part 1/2, fix class casing.
This commit is contained in:
parent
c2f50e258a
commit
4012ae1cd3
2 changed files with 1 additions and 27 deletions
|
@ -33,7 +33,7 @@ abstract class DiffusionQuery {
|
||||||
$map = array(
|
$map = array(
|
||||||
PhabricatorRepositoryType::REPOSITORY_TYPE_GIT => 'Git',
|
PhabricatorRepositoryType::REPOSITORY_TYPE_GIT => 'Git',
|
||||||
PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL => 'Mercurial',
|
PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL => 'Mercurial',
|
||||||
PhabricatorRepositoryType::REPOSITORY_TYPE_SVN => 'SVN',
|
PhabricatorRepositoryType::REPOSITORY_TYPE_SVN => 'Svn',
|
||||||
);
|
);
|
||||||
|
|
||||||
$name = idx($map, $repository->getVersionControlSystem());
|
$name = idx($map, $repository->getVersionControlSystem());
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright 2012 Facebook, Inc.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
final class DiffusionSVNContainsQuery extends DiffusionContainsQuery {
|
|
||||||
|
|
||||||
protected function executeQuery() {
|
|
||||||
// NOTE: Subversion doesn't have branches, so we always return empty.
|
|
||||||
return array();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in a new issue