anabelle
on Jun 10. 2007. 7:09 pm
How can i stop de has been updated notification from a ppearing in the dashboard when a message is edited?
Ilija Studen
on Jun 10. 2007. 7:23 pm
Open application/controllers/MessageController.class.php and somewhere around like 244 you'll find this:
DB::beginWork();
$message->save();
$message->setTagsFromCSV(array_var($message_data, 'tags'));
ApplicationLogs::createLog($message, $message->getProject(), ApplicationLogs::ACTION_EDIT);
DB::commit();
Remove the line that starts with ApplicationLogs::
ApplicationLogs::createLog($message, $message->getProject(), ApplicationLogs::ACTION_EDIT);
That should do the trick. If you wish to do that for other types find their controller (usually [TypeName]Controller.class.php), find edit method and remove a line where new entry is saved to application log.
activeCollab team member |
LinkedIn