aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-31 00:57:59 -0700
committerfriendica <info@friendica.com>2012-03-31 00:57:59 -0700
commitb4b1055b502c317513bf5c57794c004ced43a0de (patch)
tree7981c4db1897e0d9f5d316d9503c3e7b2f7122ea /update.php
parent8c928e67ba9f122343f53400cf0f4dae8104ffd7 (diff)
downloadvolse-hubzilla-b4b1055b502c317513bf5c57794c004ced43a0de.tar.gz
volse-hubzilla-b4b1055b502c317513bf5c57794c004ced43a0de.tar.bz2
volse-hubzilla-b4b1055b502c317513bf5c57794c004ced43a0de.zip
settings for unknown private mail acceptance
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/update.php b/update.php
index a69742a94..d38e39f8b 100755
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1133 );
+define( 'UPDATE_VERSION' , 1134 );
/**
*
@@ -1136,3 +1136,8 @@ INDEX ( `username` )
}
+function update_1133() {
+ q("ALTER TABLE `user` ADD `unkmail` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `blocktags` , ADD INDEX ( `unkmail` ) ");
+ q("ALTER TABLE `user` ADD `cntunkmail` INT NOT NULL DEFAULT '10' AFTER `unkmail` , ADD INDEX ( `cntunkmail` ) ");
+ q("ALTER TABLE `mail` ADD `unknown` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `replied` , ADD INDEX ( `unknown` ) ");
+}