diff options
-rw-r--r-- | Zotlabs/Update/_1216.php | 19 | ||||
-rwxr-xr-x | boot.php | 2 |
2 files changed, 20 insertions, 1 deletions
diff --git a/Zotlabs/Update/_1216.php b/Zotlabs/Update/_1216.php new file mode 100644 index 000000000..843567633 --- /dev/null +++ b/Zotlabs/Update/_1216.php @@ -0,0 +1,19 @@ +<?php + +namespace Zotlabs\Update; + +class _1215 { + + function run() { + + $r = q("UPDATE xchan set xchan_name = 'unknown' where xchan_name like '%<%' "); + + if($r) { + return UPDATE_SUCCESS; + } + else { + return UPDATE_FAILED; + } + } + +} @@ -54,7 +54,7 @@ define ( 'STD_VERSION', '3.6' ); define ( 'ZOT_REVISION', '6.0a' ); -define ( 'DB_UPDATE_VERSION', 1215 ); +define ( 'DB_UPDATE_VERSION', 1216 ); define ( 'PROJECT_BASE', __DIR__ ); |