public function delete($idActions)
    {
        foreach ($idActions as &$id) {
            $id = (int)$id;
        }

        $table = Common::prefixTable('log_action');

        $sql = "DELETE FROM $table WHERE idaction IN (" . implode(",", $idActions) . ")";
        Db::query($sql);
    }
public function delete($idActions)
    {
        foreach ($idActions as &$id) {
            $id = (int)$id;
        }

        $table = Common::prefixTable('log_action');

        $sql = "DELETE FROM $table WHERE idaction IN (" . implode(",", $idActions) . ")";
        Db::query($sql);
    }
public function delete ( $ idActions ) { foreach ( $ idActions as & $ id ) { $ id = ( int ) $ id ; } $ table = Common :: prefixTable ( 'log_action' ) ; $ sql = "DELETE FROM $table WHERE idaction IN (" . implode ( "," , $ idActions ) . ")" ; Db :: query ( $ sql ) ; }
Removes a list of actions from the log_action table by ID.

@param int[] $idActions
Removes a list of actions from the log_action table by ID .