Use __CLASS__ instead of hard-coding class names
Summary: Use `__CLASS__` instead of hard-coding class names. Depends on D12605. Test Plan: Eyeball it. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: hach-que, Korvin, epriestley Differential Revision: https://secure.phabricator.com/D12806
This commit is contained in:
@@ -14,7 +14,7 @@ final class PhabricatorMacroMemeController
|
||||
$lower_text = $request->getStr('lowertext');
|
||||
$user = $request->getUser();
|
||||
|
||||
$uri = PhabricatorMacroMemeController::generateMacro($user, $macro_name,
|
||||
$uri = self::generateMacro($user, $macro_name,
|
||||
$upper_text, $lower_text);
|
||||
if ($uri === false) {
|
||||
return new Aphront404Response();
|
||||
|
||||
Reference in New Issue
Block a user