Permalink
Browse files

Changed the visibility of generateId() to allow inherited documents t…

…o override the id generation.
  • Loading branch information...
1 parent d4bf9b2 commit eb9620a7f12f61864c98acbc7ab294fb8d50925d @vmattila vmattila committed Mar 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Document/Session.php
View
@@ -61,7 +61,7 @@ public function updateAccessTime()
/**
* @author Magnus Nordlander
**/
- private function generateId()
+ protected function generateId()
{
$this->id = mt_rand().uniqid();
}

0 comments on commit eb9620a

Please sign in to comment.