remove unused local variables and a few improvements

This commit is contained in:
Ceeram 2012-12-20 13:47:03 +01:00
parent f25f35353d
commit 3f4d24bfc0
38 changed files with 77 additions and 95 deletions

View file

@ -159,7 +159,7 @@ class DigestAuthenticate extends BaseAuthenticate {
*/
protected function _findUser($username, $password = null) {
$userModel = $this->settings['userModel'];
list($plugin, $model) = pluginSplit($userModel);
list(, $model) = pluginSplit($userModel);
$fields = $this->settings['fields'];
$conditions = array(