diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 50e5d9eb85..b462d0a283 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -3040,6 +3040,7 @@ phutil_register_library_map(array( 'PhabricatorDatasourceEditType' => 'applications/transactions/edittype/PhabricatorDatasourceEditType.php', 'PhabricatorDatasourceEngine' => 'applications/search/engine/PhabricatorDatasourceEngine.php', 'PhabricatorDatasourceEngineExtension' => 'applications/search/engineextension/PhabricatorDatasourceEngineExtension.php', + 'PhabricatorDatasourceURIEngineExtension' => 'applications/meta/engineextension/PhabricatorDatasourceURIEngineExtension.php', 'PhabricatorDateFormatSetting' => 'applications/settings/setting/PhabricatorDateFormatSetting.php', 'PhabricatorDateTimeSettingsPanel' => 'applications/settings/panel/PhabricatorDateTimeSettingsPanel.php', 'PhabricatorDebugController' => 'applications/system/controller/PhabricatorDebugController.php', @@ -9082,6 +9083,7 @@ phutil_register_library_map(array( 'PhabricatorDatasourceEditType' => 'PhabricatorPHIDListEditType', 'PhabricatorDatasourceEngine' => 'Phobject', 'PhabricatorDatasourceEngineExtension' => 'Phobject', + 'PhabricatorDatasourceURIEngineExtension' => 'PhabricatorDatasourceEngineExtension', 'PhabricatorDateFormatSetting' => 'PhabricatorSelectSetting', 'PhabricatorDateTimeSettingsPanel' => 'PhabricatorEditEngineSettingsPanel', 'PhabricatorDebugController' => 'PhabricatorController', diff --git a/src/applications/meta/engineextension/PhabricatorDatasourceURIEngineExtension.php b/src/applications/meta/engineextension/PhabricatorDatasourceURIEngineExtension.php new file mode 100644 index 0000000000..147aa9635f --- /dev/null +++ b/src/applications/meta/engineextension/PhabricatorDatasourceURIEngineExtension.php @@ -0,0 +1,34 @@ +setDomain(null) + ->setProtocol(null) + ->setPort(null); + + return phutil_string_cast($uri); + } + + return null; + } +}