in includes/common.inc
Return status for saving which involved an update to an existing item.
<?php define('SAVED_UPDATED', 2); ?>
Some quick links to get you started