Exemplo n.º 1
0
 public function removeLogoImg($d = array())
 {
     $logoImgDirPath = frameBup::_()->getModule('options')->getLogoImgFullDir();
     if ($this->save(array('opt_values' => array('logo_image' => ''), 'code' => 'logo_image')) && utilsBup::deleteFile($logoImgDirPath)) {
         return true;
     } else {
         $this->pushError(__('Unable to remove image', BUP_LANG_CODE));
     }
 }