Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
return AJXP_Utils::saveSerialFile is misleading and useless
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
  • Loading branch information
Etienne CHAMPETIER committed Dec 3, 2013
1 parent 12dd256 commit 53149fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/plugins/conf.sql/class.AJXP_SqlUser.php
Expand Up @@ -508,7 +508,6 @@ public function getTemporaryData($key)
*
* @param $key String key of data to save.
* @param $value Value to save
* @return null (AJXP_Utils::saveSerialFile() returns nothing)
*/
public function saveTemporaryData($key, $value)
{
Expand All @@ -518,7 +517,7 @@ public function saveTemporaryData($key, $value)
AJXP_Logger::info(__CLASS__,"setTemporaryData", array("Warning" => "The conf.sql driver is missing a mandatory option USERS_DIRPATH!"));
}
$id = AuthService::ignoreUserCase()?strtolower($this->getId()):$this->getId();
return AJXP_Utils::saveSerialFile($dirPath."/".$id."/temp-".$key.".ser", $value);
AJXP_Utils::saveSerialFile($dirPath."/".$id."/temp-".$key.".ser", $value);
}

public function setGroupPath($groupPath, $update = false)
Expand Down

0 comments on commit 53149fc

Please sign in to comment.