mirror of
https://github.com/Combodo/iTop.git
synced 2026-07-09 08:16:44 +02:00
N°9711 - Block user from going back to the setup (#954)
* N°9711 - Store setup parameters in session * N°9711 - Restrict database parameters display to administrators in setup summary
This commit is contained in:
@@ -76,6 +76,11 @@ abstract class WizardStep
|
||||
{
|
||||
}
|
||||
|
||||
public function CanAccessToWizardStep()
|
||||
{
|
||||
return ($this->oWizard->GetParameter('return_application', '') === '');
|
||||
}
|
||||
|
||||
protected function CheckDependencies()
|
||||
{
|
||||
if (is_null($this->bDependencyCheck)) {
|
||||
@@ -187,15 +192,6 @@ abstract class WizardStep
|
||||
return 'return true;';
|
||||
}
|
||||
|
||||
/**
|
||||
* Tells whether this step of the wizard requires that the configuration file be writable
|
||||
* @return bool True if the wizard will possibly need to modify the configuration at some point
|
||||
*/
|
||||
public function RequiresWritableConfig()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Overload this function to implement asynchronous action(s) (AJAX)
|
||||
* @param string $sCode The code of the action (if several actions need to be distinguished)
|
||||
|
||||
Reference in New Issue
Block a user