From: <var...@us...> - 2014-07-17 15:43:07
|
Revision: 8980 http://sourceforge.net/p/phpwiki/code/8980 Author: vargenau Date: 2014-07-17 15:42:59 +0000 (Thu, 17 Jul 2014) Log Message: ----------- Use public when needed Modified Paths: -------------- trunk/lib/DbSession/SQL.php Modified: trunk/lib/DbSession/SQL.php =================================================================== --- trunk/lib/DbSession/SQL.php 2014-07-17 15:34:47 UTC (rev 8979) +++ trunk/lib/DbSession/SQL.php 2014-07-17 15:42:59 UTC (rev 8980) @@ -71,7 +71,7 @@ * @return boolean true just a variable to notify PHP that everything * is good. */ - private function open($save_path, $session_name) + public function open($save_path, $session_name) { //$this->log("_open($save_path, $session_name)"); return true; @@ -85,7 +85,7 @@ * @return boolean true just a variable to notify PHP that everything * is good. */ - private function close() + public function close() { //$this->log("_close()"); return true; @@ -97,7 +97,7 @@ * @param string $id an id of current session * @return string */ - private function read($id) + public function read($id) { //$this->log("_read($id)"); $dbh = $this->_connect(); @@ -136,7 +136,7 @@ * @return boolean true if data saved successfully and false * otherwise. */ - private function write($id, $sess_data) + public function write($id, $sess_data) { if (defined("WIKI_XMLRPC") or defined("WIKI_SOAP")) return false; @@ -186,7 +186,7 @@ * @param string $id * @return boolean true */ - private function destroy($id) + public function destroy($id) { $dbh = $this->_connect(); $table = $this->_table; @@ -204,7 +204,7 @@ * @param int $maxlifetime session's time to live. * @return boolean true */ - private function gc($maxlifetime) + public function gc($maxlifetime) { $dbh = $this->_connect(); $table = $this->_table; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |