/**
  * delete object and all related data	
  *
  * @access	public
  * @return	boolean	true if all object data were removed; false if only a references were removed
  */
 function delete()
 {
     // always call parent delete function first!!
     if (!parent::delete()) {
         return false;
     }
     //put here your module specific stuff
     // delete feed block
     include_once "./Services/Block/classes/class.ilCustomBlock.php";
     $costum_block = new ilCustomBlock();
     $costum_block->setContextObjId($this->getId());
     $costum_block->setContextObjType($this->getType());
     $c_blocks = $costum_block->queryBlocksForContext();
     include_once "./Services/Block/classes/class.ilExternalFeedBlock.php";
     foreach ($c_blocks as $c_block) {
         if ($c_block["type"] == "feed") {
             $fb = new ilExternalFeedBlock($c_block["id"]);
             $fb->delete();
             include_once "./Services/Block/classes/class.ilBlockSetting.php";
             ilBlockSetting::_deleteSettingsOfBlock($c_block["id"], "feed");
         }
     }
     //ilBlockSetting::_lookupSide($type, $user_id, $c_block["id"]);
     return true;
 }