*
* @author Roland Haeder <webmaster@shipsimu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2020 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2021 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
*
// And finally set it
$this->setResultInstance($resultInstance);
- } // END - if
+ }
// Rewind it
$this->getResultInstance()->rewind();
if ($this->getResultInstance()->valid()) {
// Entry found
$exists = true;
- } // END - if
+ }
// Return the status
return $exists;
// And finally set it
$this->setResultInstance($resultInstance);
- } // END - if
+ }
// Rewind it
$this->getResultInstance()->rewind();
// Set the username
$this->setUserName($currEntry['username']);
- } // END - if
- } // END - if
+ }
+ }
// Return the status
return $exists;
// And finally set it
$this->setResultInstance($resultInstance);
- } // END - if
+ }
// Rewind it and advance to first entry
$this->getResultInstance()->rewind();
// So does the hashes match?
//* DEBUG: */ echo $requestInstance->getRequestElement('pass_hash') . '<br />' . $this->getResultInstance()->getFoundValue() . '<br />';
$matches = ($requestInstance->getRequestElement('pass_hash') === $this->getResultInstance()->getFoundValue());
- } // END - if
+ }
// Return the status
return $matches;
if (isset($entry['pass_hash'])) {
// Get it
$passHash = $entry['pass_hash'];
- } // END - if
+ }
// And return the hash
return $passHash;