TungstenVn

Untitled

Sep 6th, 2019
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.43 KB | None | 0 0
  1. if(null !== $this->getConfig()->getNested("delay.$n")){
  2.          $p->sendMessage($this->getConfig()->getNested("delay.$n"));
  3.          $a = $this->getConfig()->getNested("delay.$n");
  4.          $array = $this->getConfig()->getNested("delay");                
  5.          unset($array[array_search($a,$array)]);            
  6.          $this->getConfig()->setNested("delay",$array);
  7.          $this->getConfig()->setAll($this->getConfig()->getAll());
  8.          $this->getConfig()->save();   
  9.      }
Advertisement
Add Comment
Please, Sign In to add comment