@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.

Minor, fix an issue created by D2341 + D2342 (namespace storage changed).

+10 -2
+10 -2
src/applications/base/storage/lisk/PhabricatorLiskDAO.php
··· 86 86 /** 87 87 * @task config 88 88 */ 89 - public function establishLiveConnection($mode) { 89 + public static function getStorageNamespace() { 90 90 $namespace = end(self::$namespaceStack); 91 91 if (!strlen($namespace)) { 92 92 $namespace = self::getDefaultStorageNamespace(); ··· 94 94 if (!strlen($namespace)) { 95 95 throw new Exception("No storage namespace configured!"); 96 96 } 97 + return $namespace; 98 + } 99 + 100 + /** 101 + * @task config 102 + */ 103 + public function establishLiveConnection($mode) { 104 + $namespace = self::getStorageNamespace(); 97 105 98 106 $conf = PhabricatorEnv::newObjectFromConfig( 99 107 'mysql.configuration-provider', ··· 140 148 abstract public function getApplicationName(); 141 149 142 150 protected function getConnectionNamespace() { 143 - return self::$namespace.'_'.$this->getApplicationName(); 151 + return self::getStorageNamespace().'_'.$this->getApplicationName(); 144 152 } 145 153 }