]> granicus.if.org Git - ejabberd/commitdiff
Add command to update PubSub table of ejabberd trunk SVN.
authorBadlop <badlop@process-one.net>
Tue, 25 Aug 2009 15:23:23 +0000 (15:23 +0000)
committerBadlop <badlop@process-one.net>
Tue, 25 Aug 2009 15:23:23 +0000 (15:23 +0000)
If you use ejabberd trunk SVN, run this command:
ejabberdctl rename_default_nodeplugin

SVN Revision: 2531

doc/release_notes_2.1.0.txt
src/ejabberd_admin.erl

index 21cf126002aab81c506b00729e41ca7f36def114..399f905e9576d8d3e6bafda766d51914d6e9a776 100644 (file)
@@ -50,6 +50,7 @@
 - Added option s2s_dns_options to define DNS timeout and retries
 - Added option ERL_OPTIONS to ejabberdctl.cfg
 - Added option FIREWALL_WINDOW to ejabberdctl.cfg
+- Added option EJABBERD_PID_PATH to ejabberdctl.cfg
 - Deleted option user_max_messages of mod_offline
 - Check certfiles are readable on server start and listener start
 - Config file management mix file reading and sanity check
   no need to use root account to.
 - Only try to install epam if pam was enabled in configure script
 - Spool, config and log dirs: owner writes, group reads, others do nothing.
+- Provides an example ejabberd.init file
 
 * S2S
 - Option to define s2s outgoing behaviour: IPv4, IPv6 and timeout
 - mod_offline has a new option: access_max_user_messages.
   The old option user_max_messages is no longer supported.
 
+- If you upgrade from ejabberd trunk SVN, you must execute this:
+  $ ejabberdctl rename_default_nodeplugin
+
 - Default installation directories changed a bit:
   * The Mnesia spool files that were previously stored in
       /var/lib/ejabberd/db/NODENAME/*
index e2c95da910a3207e4aa0d9f792f8093be66c9a69..b02d83be373ae638b425eaaaebe058a98e5c5ae2 100644 (file)
@@ -135,6 +135,11 @@ commands() ->
                        desc = "Delete offline messages older than DAYS",
                        module = ?MODULE, function = delete_old_messages,
                        args = [{days, integer}], result = {res, rescode}},
+        
+     #ejabberd_commands{name = rename_default_nodeplugin, tags = [mnesia],
+                       desc = "Update PubSub table from ejabberd trunk SVN to 2.1.0",
+                       module = mod_pubsub, function = rename_default_nodeplugin,
+                       args = [], result = {res, rescode}},
 
      #ejabberd_commands{name = mnesia_change_nodename, tags = [mnesia],
                        desc = "Change the erlang node name in a backup file",