function Remove($pIdentifier, $pUserId) { // Remove the Page Post $this->Delete(array('Identifier' => $pIdentifier, 'User_FK' => $pUserId)); // Remove the page reference. include_once ASD_PATH . '/components/page/models/references.php'; $Reference = new cPageReferencesModel(); $Reference->Delete(array('Identifier' => $pIdentifier, 'User_FK' => $pUserId)); return true; }