summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-11-09 15:59:53 -0800
committerJames Cook <james@lindenlab.com>2009-11-09 15:59:53 -0800
commit668ba958c77d46c87f54f8d6e77b5aac921b5733 (patch)
tree8da1b234ca110d57c6eb3452a8d2c7486160f2ad
parent5cbf5b63fc9db6fa693cd70c01170db97f1c1442 (diff)
Disabled saving notifications to disk because the load code hasn't worked for months, it spams the logs, and it hits the disk.
Discussed with Q, the author.
-rw-r--r--indra/llui/llnotifications.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp
index ef222bad60..eb8cc3e2c5 100644
--- a/indra/llui/llnotifications.cpp
+++ b/indra/llui/llnotifications.cpp
@@ -81,6 +81,11 @@ private:
void savePersistentNotifications()
{
+ /* NOTE: As of 2009-11-09 the reload of notifications on startup does not
+ work, and has not worked for months. Skip saving notifications until the
+ read can be fixed, because this hits the disk once per notification and
+ causes log spam. James
+
llinfos << "Saving open notifications to " << mFileName << llendl;
llofstream notify_file(mFileName.c_str());
@@ -107,6 +112,7 @@ private:
LLPointer<LLSDFormatter> formatter = new LLSDXMLFormatter();
formatter->format(output, notify_file, LLSDFormatter::OPTIONS_PRETTY);
+ */
}
void loadPersistentNotifications()