* @return void
*/
public function execute (Requestable $requestInstance, Responseable $responseInstance) {
- // Implement this!
- $this->partialStub("Please implement this method.");
+ // Is the configuration variable set?
+ if ($this->getConfigInstance()->readConfig('refill_page_active') === "N") {
+ // Password is empty
+ $requestInstance->requestIsValid(false);
+
+ // Add a message to the response
+ $responseInstance->addFatalMessage('refill_page_not_active');
+
+ // Abort here
+ return false;
+ } // END - if
}
}