Skip to content
Snippets Groups Projects
Commit ea1ed4f6 authored by Jared Hancock's avatar Jared Hancock
Browse files

Typo in class.config.php for pw_reset_window

parent 67e527d4
Branches
Tags
No related merge requests found
...@@ -141,7 +141,7 @@ class OsticketConfig extends Config { ...@@ -141,7 +141,7 @@ class OsticketConfig extends Config {
var $defaults = array( var $defaults = array(
'allow_pw_reset' => true, 'allow_pw_reset' => true,
'pw_reset_mins' => 30, 'pw_reset_window' => 30,
); );
function OsticketConfig($section=null) { function OsticketConfig($section=null) {
......
...@@ -10,8 +10,8 @@ class UndefinedMethods extends Test { ...@@ -10,8 +10,8 @@ class UndefinedMethods extends Test {
foreach ($scripts as $s) { foreach ($scripts as $s) {
$matches = array(); $matches = array();
preg_match_all('/^\s*(?:\/\*[^*]*\*\/)?\s*' preg_match_all('/^\s*(?:\/\*[^*]*\*\/)?\s*'
.'(?:private|public|static|abstract)?\s*' .'(?:(?:private|public|protected|static|abstract)\s+)*'
.'function\s+&?\s*([^(\s]+)\s*\\(/m', .'function\s+&?\s*([^(\s]+)\s*\(/m',
file_get_contents($s), $matches); file_get_contents($s), $matches);
$function_defs = array_merge($function_defs, $matches[1]); $function_defs = array_merge($function_defs, $matches[1]);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment