예제 #1
0
	function users() {
		include "settings.php";
		
		# Creer het settings object
		$settings = SpotSettings::singleton($this->_db, $settings);
		$spotUserUpgrader = new SpotUserUpgrader($this->_db, $settings);
		$spotUserUpgrader->update();
	} # users
예제 #2
0
 function resetPassword($username)
 {
     # Create the settings object
     $settings = SpotSettings::singleton($this->_db, $this->_phpSettings);
     $spotUserUpgrader = new SpotUserUpgrader($this->_db, $settings);
     # retrieve the userid
     $spotUserUpgrader->resetUserPassword($username, 'spotweb');
 }