Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- modules/idasys-admin/libraries/A1.php 2009-05-27 14:56:53.000000000 +0200
- +++ modules/idasys-admin/libraries/A1.old2.php 2009-05-27 14:56:31.000000000 +0200
- @@ -67,7 +67,7 @@
- // Clean up the salt pattern and split it into an array
- $this->config['salt_pattern'] = preg_split('/,\s*/', $this->config['salt_pattern']);
- - Kohana_Log::add('debug', 'A1 Library loaded');
- + Kohana::log('debug', 'A1 Library loaded');
- }
- /**
- @@ -154,7 +154,7 @@
- if (empty($password))
- return FALSE;
- - $user = is_object($username) ? $username : ORM::factory($this->user_model)->where($this->columns['username'], '=', $username)->find();
- + $user = is_object($username) ? $username : ORM::factory($this->user_model)->where($this->columns['username'], $username)->find();
- $salt = $this->find_salt($user->{$this->columns['password']});
Add Comment
Please, Sign In to add comment