if (!$result) {
common_log_db_error($sub, 'INSERT', __FILE__);
- // TRANS: Exception thrown when inserting a people tag subscription in the database fails.
- throw new Exception(_('Adding people tag subscription failed.'));
+ // TRANS: Exception thrown when inserting a list subscription in the database fails.
+ throw new Exception(_('Adding list subscription failed.'));
}
$ptag = Profile_list::staticGet('id', $peopletag->id);
if (!$result) {
common_log_db_error($sub, 'DELETE', __FILE__);
- // TRANS: Exception thrown when deleting a people tag subscription from the database fails.
- throw new Exception(_('Removing people tag subscription failed.'));
+ // TRANS: Exception thrown when deleting a list subscription from the database fails.
+ throw new Exception(_('Removing list subscription failed.'));
}
$peopletag->subscriberCount(true);