Change the name of identity library from Identity to IdentityProvider. Create a helper class called identity to simplify call the Identity Provider. Move the contents of MY_Session.php to the new helper class and remove the MY_Session class

This commit is contained in:
Tim Almdal
2009-10-22 13:09:20 -07:00
parent 4cb9ec1d6d
commit 3c936d661a
60 changed files with 628 additions and 512 deletions

View File

@@ -35,8 +35,8 @@ class Digibug_Controller_Test extends Unit_Test_Case {
$root = ORM::factory("item", 1);
$this->_album = album::create($root, rand(), "test album");
access::deny(Identity::everybody(), "view_full", $this->_album);
access::deny(Identity::registered_users(), "view_full", $this->_album);
access::deny(identity::everybody(), "view_full", $this->_album);
access::deny(identity::registered_users(), "view_full", $this->_album);
$rand = rand();
$this->_item = photo::create($this->_album, MODPATH . "gallery/tests/test.jpg", "$rand.jpg",