SproutCMS

This is the code documentation for the SproutCMS project

function _deletePreSave()

Prevents deletion of accounts when the user doesn't have access, and deletion of self

Usage

void $OperatorAdminController->_deletePreSave ( int $item_id );

Arguments

  1. int $item_id
    The record to delete

Exceptions thrown

  • Exception
    if deletion not allowed

Return value

  • void