|
From: <var...@us...> - 2017-08-10 15:46:33
|
Revision: 10031
http://sourceforge.net/p/phpwiki/code/10031
Author: vargenau
Date: 2017-08-10 15:46:30 +0000 (Thu, 10 Aug 2017)
Log Message:
-----------
Remove commented code
Modified Paths:
--------------
trunk/lib/WikiUser/PearDb.php
Modified: trunk/lib/WikiUser/PearDb.php
===================================================================
--- trunk/lib/WikiUser/PearDb.php 2017-08-10 15:44:36 UTC (rev 10030)
+++ trunk/lib/WikiUser/PearDb.php 2017-08-10 15:46:30 UTC (rev 10031)
@@ -98,11 +98,6 @@
// if the prefs are changed
if ($count = _AnonUser::setPreferences($prefs, 1)) {
- //global $request;
- //$user = $request->_user;
- //unset($user->_auth_dbi);
- // this must be done in $request->_setUser, not here!
- //$request->setSessionVar('wiki_user', $user);
$this->getAuthDbh();
$packed = $this->_prefs->store();
if (!$id_only and isset($this->_prefs->_update)) {
@@ -134,7 +129,7 @@
if (isset($this->_HomePagehandle) && $this->_HomePagehandle and !$id_only)
$this->_HomePagehandle->set('pref', $packed);
}
- return $count; //count($this->_prefs->unpack($packed));
+ return $count;
}
return 0;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|