title: Overriding account controller
body: <p>I try to override function in controller <code>/app/code/core/Mage/Customer/controllers/AccountController.php</code>.</p>
  
  <p>I create module folders:</p>
  
  <p><code>/app/code/local/Mandarin/SkipLogoutSuccess/etc/config.xml</code></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;config&gt;
      &lt;modules&gt;
          &lt;Mandarin_SkipLogoutSuccess&gt;
              &lt;version&gt;0.1.0&lt;/version&gt;
          &lt;/Mandarin_SkipLogoutSuccess&gt;
      &lt;/modules&gt;
  
      &lt;frontend&gt;
          &lt;routers&gt;
              &lt;checkout&gt;
                  &lt;args&gt;
                      &lt;modules&gt;
                          &lt;mandarin_skiplogoutsuccess before="Mage_Customer"&gt;Mandarin_SkipLogoutSuccess&lt;/mandarin_skiplogoutsuccess&gt;
                      &lt;/modules&gt;
                  &lt;/args&gt;
              &lt;/checkout&gt;
          &lt;/routers&gt;
      &lt;/frontend&gt;
  &lt;/config&gt;
  </code></pre>
  
  <p>/app/code/local/Mandarin/SkipLogoutSuccess/controllers/AccountController.php</p>
  
  <pre><code>require_once 'Mage/Customer/controllers/AccountController.php';
  
  class Mandarin_SkipLogoutSuccess_AccountController extends Mage_Customer_AccountController
  {
      public function logoutAction()
      {
          $this-&gt;_getSession()-&gt;logout()-&gt;setBeforeAuthUrl(Mage::getUrl());
          Mage::log("its Allive!", null, 'mygento.log');
          $this-&gt;_redirectUrl(Mage::getUrl());
      }
  }
  </code></pre>
  
  <p>/app/etc/modules/Mandarin_SkipLogoutSuccess.xml</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt; 
  &lt;config&gt;
      &lt;modules&gt;
           &lt;Mandarin_SkipLogoutSuccess&gt;
                &lt;active&gt;true&lt;/active&gt; 
                &lt;codePool&gt;local&lt;/codePool&gt; 
           &lt;/Mandarin_SkipLogoutSuccess&gt;
      &lt;/modules&gt;
   &lt;/config&gt;
  </code></pre>
  
  <p>When I run logoutAction controller is used from core. In my log file I don`t get message.
  Where could be the error?</p>