Lines Matching refs:disabled
354 * check if the given action was disabled in config
358 * @returns boolean true if enabled, false if disabled
362 static $disabled = null;
363 if (is_null($disabled) || defined('SIMPLE_TEST')) {
368 // prepare disabled actions array and handle legacy options
369 $disabled = explode(',', $conf['disableactions']);
370 $disabled = array_map('trim', $disabled);
375 $disabled[] = 'register';
381 $disabled[] = 'resendpwd';
384 $disabled[] = 'subscribe';
387 $disabled[] = 'profile';
390 $disabled[] = 'profile_delete';
393 $disabled[] = 'login';
396 $disabled[] = 'logout';
398 $disabled = array_unique($disabled);
401 return !in_array($action, $disabled);