/** * Validates the previous steps */ private function validateForm() { return InstallerStep6::isAllowed(); }
/** * Is this step allowed. * * @return bool */ public static function isAllowed() { return InstallerStep6::isAllowed() && isset($_SESSION['email']) && isset($_SESSION['password']); }