Fixed comment typo, wrapped return value conditional on var assignment in session{}
This commit is contained in:
parent
4ba0ab7f65
commit
20b1d12cbf
|
@ -70,12 +70,14 @@ class Session {
|
|||
*/
|
||||
public function setLegacyKey( $legacyKey ) {
|
||||
|
||||
$_SESSION['legacyKey'] = $legacyKey;
|
||||
if ( $_SESSION['legacyKey'] = $legacyKey ) {
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Gets user legacy key from session
|
||||
* @returns string $legacyKey The user's plaintext legacy key
|
||||
|
|
|
@ -347,7 +347,7 @@ class Stream {
|
|||
//
|
||||
// // Make sure we always start on a block start
|
||||
if ( 0 != ( $pointer % 8192 ) ) {
|
||||
// if the current positoin of
|
||||
// if the current position of
|
||||
// file indicator is not aligned to a 8192 byte block, fix it
|
||||
// so that it is
|
||||
|
||||
|
|
Loading…
Reference in New Issue