deactivatePlugin() public method

주어진 플러그인을 비활성화한다.
public deactivatePlugin ( string $pluginId ) : void
$pluginId string 비활성화 할 플러그인의 id
return void
 public function postDeactivatePlugin($pluginId, PluginHandler $handler)
 {
     try {
         $handler->deactivatePlugin($pluginId);
     } catch (XpressengineException $e) {
         throw new HttpException(Response::HTTP_FORBIDDEN, $e->getMessage(), $e);
     } catch (\Exception $e) {
         throw $e;
     }
     return Redirect::route('settings.plugins')->withAlert(['type' => 'success', 'message' => '플러그인을 껐습니다.']);
 }
 public function putDeactivatePlugin($pluginId, PluginHandler $handler, InterceptionHandler $interceptionHandler)
 {
     try {
         $handler->deactivatePlugin($pluginId);
         $interceptionHandler->clearProxies();
     } catch (XpressengineException $e) {
         throw new HttpException(Response::HTTP_FORBIDDEN, $e->getMessage(), $e);
     } catch (\Exception $e) {
         throw $e;
     }
     return Redirect::back()->withAlert(['type' => 'success', 'message' => '플러그인을 껐습니다.']);
 }