示例#1
0
 public function deleteRow(RM_Unit_Row $unit)
 {
     $folderName = implode(DIRECTORY_SEPARATOR, array(RM_Environment::getConnector()->getCorePath(), 'userdata', 'images', 'units', $unit->id));
     $fileSystem = new RM_Filesystem();
     $fileSystem->deleteFolder($folderName);
     return $unit->delete();
 }