Pastoid

The page you are looking at now is at this URL: http://pastoid.com/b1h

This paste was last updated on April 15, 2010 at 12:57 am.

Pasted Coderaw

  public function action_admin_header($theme)
  {
    if ($theme->page == 'publish' && isset($theme->form->silos)) {
      $silos = $theme->form->silos->silos;
      $target = NULL;
      foreach ($silos as $index => $silo) {
        if ($silo->basename == 'Habari') $target = ($index);
      }   
      if ($target !== NULL) unset($silos[$target]);
      $theme->form->silos->silos = $silos;
    }   
  }
 
 

Toggle wordwrap

Referring DomainHits
Unknown Referer 127
pastoid.com 3
Is this paste spam?
<Hide