Introduction   Getting Started   Upgrading   Function Reference   Changelog   Support and Feedback

delete_pm

Usage: bool delete_pm (int messageid)
Purpose: Deletes a PM.
Availability: IPB SDK 0.4

Returns TRUE if private message messageid can be deleted.

If the message could not be deleted, because the current user does not have sufficient privileges, or the message does not exist FALSE will be returned.

// Deletes PM 2 if ($SDK->delete_pm("2")) {
      echo 'Message Deleted.';
}


User Contributed Notes

There are currently no user contributed notes for this page.

Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net