@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix chatlog application query integration

Summary: `class_exists()` is case-insensitive, but `PhabricatorApplication::getByClass()` is not.

Test Plan: Fixed unit test to fail, then fixed code to pass unit test.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D7379

+3 -3
+1 -1
src/applications/chatlog/PhabricatorChatLogChannelQuery.php
··· 57 57 } 58 58 59 59 public function getQueryApplicationClass() { 60 - return 'PhabricatorApplicationChatlog'; 60 + return 'PhabricatorApplicationChatLog'; 61 61 } 62 62 63 63 }
+1 -1
src/applications/chatlog/PhabricatorChatLogQuery.php
··· 56 56 } 57 57 58 58 public function getQueryApplicationClass() { 59 - return 'PhabricatorApplicationChatlog'; 59 + return 'PhabricatorApplicationChatLog'; 60 60 } 61 61 62 62 }
+1 -1
src/applications/policy/__tests__/PhabricatorPolicyTestCase.php
··· 222 222 } 223 223 $this->assertEqual( 224 224 true, 225 - class_exists($class), 225 + (bool)PhabricatorApplication::getByClass($class), 226 226 "Application class '{$class}' for query '{$qclass}'"); 227 227 } 228 228 }