title: Is it possible to 'deport' an imported controller in CakePHP?
body: <p>I'm running into a problem with <code>GroupsController::build_acl()</code>- <a href="http://book.cakephp.org/view/647/An-Automated-tool-for-creating-ACOs" rel="nofollow">http://book.cakephp.org/view/647/An-Automated-tool-for-creating-ACOs</a></p>
  
  <p>It's taken me a while to track down the bug and now I've found it I'm not sure how to work around it.</p>
  
  <p>Symptoms:</p>
  
  <p>Not all methods for <code>NodesController</code> (defined by me) are returned.</p>
  
  <p>Probable reason:</p>
  
  <p><code>build_acl()</code> imports a 3rd party plugin that also has a <code>NodesController</code> and a subsequent <code>App::import()</code> doesn't overwrite it.</p>
  
  <p>I'm about to try two runs of the build, one with the plugin code commented out, but a more durable solution would be preferred!</p>
  
  <p>I need a way to either drop an imported controller or force a re-import while remaining in scope.</p>