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

Minor, fix an issue where creating a provider without changing anything

fails to save it because there are no effective transactions.
This commit is contained in:
epriestley 2013-06-20 11:23:58 -07:00
parent 055535b462
commit 7eb579788e

View file

@ -110,6 +110,10 @@ final class PhabricatorAuthEditController
->setNewValue($value);
}
if ($is_new) {
$config->save();
}
$editor = id(new PhabricatorAuthProviderConfigEditor())
->setActor($viewer)
->setContentSourceFromRequest($request)