projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ea9067
)
authx - Make it safe to load the 'authx.settings.php' file multiple times
author
Tim Otten
<totten@civicrm.org>
Sat, 20 Feb 2021 00:08:02 +0000
(16:08 -0800)
committer
Tim Otten
<totten@civicrm.org>
Tue, 2 Mar 2021 19:37:53 +0000
(11:37 -0800)
ext/authx/settings/authx.setting.php
patch
|
blob
|
blame
|
history
diff --git
a/ext/authx/settings/authx.setting.php
b/ext/authx/settings/authx.setting.php
index 6a317fe171403c02510298384cedc4999d5f51ec..e40bfc8233242e874e3b9b05907aecdef2c9fe0e 100644
(file)
--- a/
ext/authx/settings/authx.setting.php
+++ b/
ext/authx/settings/authx.setting.php
@@
-16,7
+16,7
@@
use CRM_Authx_ExtensionUtil as E;
* @package CRM
* @copyright CiviCRM LLC https://civicrm.org/licensing
*/
-
function _authx_settings
() {
+
$_authx_settings = function
() {
$flows = ['param', 'header', 'xheader', 'login', 'auto'];
$basic = [
'group_name' => 'CiviCRM Preferences',
@@
-61,9
+61,9
@@
function _authx_settings() {
];
}
return $s;
-}
+}
;
/**
* Settings metadata file
*/
-return _authx_settings();
+return
$
_authx_settings();