original_string: public static function delete_by_competencyids($competencyids) {
          global $DB;
          if (empty($competencyids)) {
              return true;
          }
          list($insql, $params) = $DB->get_in_or_equal($competencyids);
          return $DB->delete_records_select(self::TABLE, "competencyid $insql", $params);
      }
code: public static function delete_by_competencyids($competencyids) {
          global $DB;
          if (empty($competencyids)) {
              return true;
          }
          list($insql, $params) = $DB->get_in_or_equal($competencyids);
          return $DB->delete_records_select(self::TABLE, "competencyid $insql", $params);
      }
code_tokens: public static function delete_by_competencyids ( $ competencyids ) { global $ DB ; if ( empty ( $ competencyids ) ) { return true ; } list ( $ insql , $ params ) = $ DB -> get_in_or_equal ( $ competencyids ) ; return $ DB -> delete_records_select ( self :: TABLE , "competencyid $insql" , $ params ) ; }
docstring: Delete evidences using competencies.
  
  @param array $competencyids Array of competencies ids.
  @return bool Return true if the delete was successful.
docstring_tokens: Delete evidences using competencies .