use Psr\Log\LoggerInterface;
use User;
use WebRequest;
+use Wikimedia\AtEase\AtEase;
/**
* This is the actual workhorse for Session.
if ( $restart ) {
session_id( (string)$this->id );
- \Wikimedia\quietCall( 'session_start' );
+ AtEase::quietCall( 'session_start' );
}
$this->autosave();
// Delete the data for the old session ID now
$this->store->delete( $this->store->makeKey( 'MWSession', $oldId ) );
}
+
+ return $this->id;
}
/**
'session' => $this->id,
] );
session_id( (string)$this->id );
- \Wikimedia\quietCall( 'session_start' );
+ AtEase::quietCall( 'session_start' );
}
}
}