1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 08:12:40 +01:00

Random local changes from production.

This commit is contained in:
epriestley 2011-03-26 23:54:17 -07:00
parent fa8f168bd0
commit 637207aedf
2 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@ switch (isset($argv[1]) ? $argv[1] : 'help') {
$desc = "'{$name}' ({$callsign})"; $desc = "'{$name}' ({$callsign})";
$phid = $repository->getPHID(); $phid = $repository->getPHID();
echo "Launching 'git pull' daemon on the {$desc} repository...\n"; echo "Launching 'git fetch' daemon on the {$desc} repository...\n";
$control->launchDaemon( $control->launchDaemon(
'PhabricatorRepositoryGitFetchDaemon', 'PhabricatorRepositoryGitFetchDaemon',
array( array(
@ -76,7 +76,7 @@ switch (isset($argv[1]) ? $argv[1] : 'help') {
case 'git': case 'git':
echo "Launching 'git fetch' daemon on the {$desc} repository...\n"; echo "Launching 'git fetch' daemon on the {$desc} repository...\n";
$control->launchDaemon( $control->launchDaemon(
'PhabricatorRepositoryGitPullDaemon', 'PhabricatorRepositoryGitFetchDaemon',
array( array(
$phid, $phid,
)); ));

View file

@ -196,7 +196,7 @@ class PhabricatorSearchController extends PhabricatorSearchBaseController {
foreach ($query as $word) { foreach ($query as $word) {
$word = phutil_escape_html($word); $word = phutil_escape_html($word);
$str = preg_replace( $str = preg_replace(
'/('.preg_quote($word, '/').')/i', '/(?:^|\b)('.preg_quote($word, '/').')(?:\b|$)/i',
'<strong>\1</strong>', '<strong>\1</strong>',
$str); $str);
} }