1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +01:00

Fix Exception Bad getter call: getURIObject

After this commit: d9296638cd

I started getting this error:

Unhandled Exception ("Exception")
Bad getter call: getURIObject

It turns out that getURIObject just needed to be getRemoteURIObject and then the problem goes away.
This commit is contained in:
pearj 2012-07-28 18:27:52 +10:00
parent f652123c5a
commit f2dea87c11

View file

@ -411,7 +411,7 @@ final class PhabricatorRepository extends PhabricatorRepositoryDAO {
* @task uri
*/
public function getPublicRemoteURI() {
$uri = $this->getURIObject();
$uri = $this->getRemoteURIObject();
// Make sure we don't leak anything if this repo is using HTTP Basic Auth
// with the credentials in the URI or something zany like that.