aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Z6trans.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2020-09-20 14:49:36 +0000
committerMario <mario@mariovavti.com>2020-09-20 17:04:34 +0200
commita86fd554a393a74f86a821756b8d02b34cb7cb20 (patch)
treec3432fdef24856123e9f15bb953cbc71469a4ee2 /Zotlabs/Module/Z6trans.php
parentef0a8bcde0e22906d94735e3acf7d27044300fc4 (diff)
downloadvolse-hubzilla-a86fd554a393a74f86a821756b8d02b34cb7cb20.tar.gz
volse-hubzilla-a86fd554a393a74f86a821756b8d02b34cb7cb20.tar.bz2
volse-hubzilla-a86fd554a393a74f86a821756b8d02b34cb7cb20.zip
adapt mod z6trans to point to util/z6convert.php in case anyone stumbles over outdated doco.
(cherry picked from commit c38fc0b9067382b91dcd26b4da9742fd9d650f6c)
Diffstat (limited to 'Zotlabs/Module/Z6trans.php')
-rw-r--r--Zotlabs/Module/Z6trans.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/Zotlabs/Module/Z6trans.php b/Zotlabs/Module/Z6trans.php
index 31132bbe3..72667316f 100644
--- a/Zotlabs/Module/Z6trans.php
+++ b/Zotlabs/Module/Z6trans.php
@@ -14,7 +14,19 @@ class Z6trans extends Controller {
function get() {
if(!is_site_admin())
- return 'Not Allowed';
+ return '<h1>Not Allowed</h1>';
+
+ $o = '<h2>' . t('Update to Hubzilla 5.0 step 2') . '</h2><br>';
+
+ $o .= '<h3>' . t('To complete the update please run') . '</h3>';
+
+ $o .= '<code>' . t('php util/z6convert.php') . '</code>';
+
+ $o .= '<h3>' . t('from the terminal.') . '</h3>';
+
+ return $o;
+
+/* this code is outdated use util/z6convert.php instead
$path = 'store/z6trans.sql';
@@ -106,6 +118,7 @@ class Z6trans extends Controller {
$o .= '<br><h3>' . t('INFO: this command can take a very long time depending on your DB size.') . '</h3>';
return $o;
+*/
}