src/OpenCart/Helpers/OcHelper.php
public function uninstall()
    {
        // "Disable" (delete) events, regardless the confirmation answer.
        $this->uninstallEvents();
        $this->registry->response->redirect($this->registry->getLink($this->getLocation() . '/confirmUninstall'));
    }
public function uninstall()
    {
        // "Disable" (delete) events, regardless the confirmation answer.
        $this->uninstallEvents();
        $this->registry->response->redirect($this->registry->getLink($this->getLocation() . '/confirmUninstall'));
    }
public function uninstall ( ) { // "Disable" (delete) events, regardless the confirmation answer. $ this -> uninstallEvents ( ) ; $ this -> registry -> response -> redirect ( $ this -> registry -> getLink ( $ this -> getLocation ( ) . '/confirmUninstall' ) ) ; }
Uninstall function, called when the module is uninstalled by an admin.

@throws \Exception
Uninstall function called when the module is uninstalled by an admin .