public function postInstall()
    {
        $this->assertIsDebugMode();

        $success = true;
        $message = '';

        // try to regenerate languages bundles
        try {
            tao_models_classes_LanguageService::singleton()->generateAll(true);
        } catch (common_exception_Error $e) {
            $message = $e->getMessage();
            $success = false;
        }

        $this->returnJson(array(
            'success' => $success,
            'message' => $message
        ));
    }
public function postInstall()
    {
        $this->assertIsDebugMode();

        $success = true;
        $message = '';

        // try to regenerate languages bundles
        try {
            tao_models_classes_LanguageService::singleton()->generateAll(true);
        } catch (common_exception_Error $e) {
            $message = $e->getMessage();
            $success = false;
        }

        $this->returnJson(array(
            'success' => $success,
            'message' => $message
        ));
    }
public function postInstall ( ) { $ this -> assertIsDebugMode ( ) ; $ success = true ; $ message = '' ; // try to regenerate languages bundles
 try { tao_models_classes_LanguageService :: singleton ( ) -> generateAll ( true ) ; } catch ( common_exception_Error $ e ) { $ message = $ e -> getMessage ( ) ; $ success = false ; } $ this -> returnJson ( array ( 'success' => $ success , 'message' => $ message ) ) ; }
Once some extensions have been installed, we trigger this action.

@throws common_exception_BadRequest If platform is on production mode
Once some extensions have been installed we trigger this action .