Name
mgd_update_attachment -- Update an attachment
Synopsis
bool mgd_update_attachment
(int id, string name, string title, string mimetype, int [score], int [author]);
Description
Minimum version: Midgard 1.4 (Bifrost)
Updates an existing attachment with the provided information.
Returns true if successfull. Returns false on failure.
Example
<?php
$id = 13;
$name = "newname";
$title = "newtitle";
$mimetype = "text/html";
mgd_update_attachment($id,$name,$title,$mimetype);
?>