mgd_delete_style

(Midgard 1.4.2 'Bifrost')

mgd_delete_style -- Delete a style record

Description

bool mgd_delete_style (int id)

Minimum version: Midgard 1.0

Deletes the style record with id id.

Returns TRUE if successful. Returns FALSE on failure.


<?php
 $id = 123;
 if(mgd_delete_style($id)){
   echo "Style deleted";
 } else {
   echo "Failed to delete style.";
 }
?>