Skip to content

Commit

Permalink
Remove Rules::__init()
Browse files Browse the repository at this point in the history
  • Loading branch information
Warren Seymour committed Jan 1, 2014
1 parent aeba35f commit 9fb9301
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/Rules.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Rules extends \lithium\core\StaticObject {
*
* @return void
*/
public static function __init() {
public static function _init() {
$rulePaths = Libraries::locate('rules');
foreach ($rulePaths as $rulePath) {
$rule = new $rulePath();
Expand Down Expand Up @@ -131,4 +131,6 @@ public static function ruleOptions(array $variables) {
}
}

Rules::_init();

?>

0 comments on commit 9fb9301

Please sign in to comment.