/**
  * Deletes an element list in database
  * @param string $elementClass The element class to delete
  * @param string $conditions The delete request conditions
  * @return int The affected rows number
  */
 public static function deleteElementList($elementClass, $conditions)
 {
     $logInstance = LogTool::getInstance();
     $logInstance->logDebug('Deletes ' . $elementClass . ' element list');
     // Deletes element in database
     return DatabaseFactory::deleteElementList($elementClass, $conditions);
 }