mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 02:02:41 +01:00
15 lines
307 B
PHP
15 lines
307 B
PHP
|
<?php
|
||
|
|
||
|
final class PholioMockMailReceiver extends PhabricatorObjectMailReceiver {
|
||
|
|
||
|
public function isEnabled() {
|
||
|
$app_class = 'PhabricatorApplicationPholio';
|
||
|
return PhabricatorApplication::isClassInstalled($app_class);
|
||
|
}
|
||
|
|
||
|
protected function getObjectPattern() {
|
||
|
return 'M[1-9]\d*';
|
||
|
}
|
||
|
|
||
|
}
|