Skip to content

Commit

Permalink
Merge branch '3.0/master' into 3.1/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
isaiahdw committed Jan 4, 2011
2 parents fc8781e + 653963a commit ee35422
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 11 deletions.
12 changes: 1 addition & 11 deletions classes/kohana/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,6 @@ public static function instance()
return Auth::$_instance;
}

/**
* Create an instance of Auth.
*
* @return Auth
*/
public static function factory($config = array())
{
return new Auth($config);
}

protected $_session;

protected $_config;
Expand Down Expand Up @@ -142,7 +132,7 @@ public function logout($destroy = FALSE, $logout_all = FALSE)
*/
public function logged_in($role = NULL)
{
return FALSE !== $this->get_user();
return ($this->get_user() !== FALSE);
}

/**
Expand Down
Empty file added guide/auth/config.md
Empty file.
Empty file added guide/auth/edit.md
Empty file.
Empty file added guide/auth/index.md
Empty file.
Empty file added guide/auth/login.md
Empty file.
7 changes: 7 additions & 0 deletions guide/auth/menu.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## [Auth]()
- [Config](config)
- [User Model](user)
- [Register Users](register)
- [Log in and out](login)
- [Edit User](edit)
- [Using Roles](roles)
Empty file added guide/auth/register.md
Empty file.
Empty file added guide/auth/roles.md
Empty file.
Empty file added guide/auth/user.md
Empty file.

0 comments on commit ee35422

Please sign in to comment.