From a86fd554a393a74f86a821756b8d02b34cb7cb20 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 20 Sep 2020 14:49:36 +0000 Subject: adapt mod z6trans to point to util/z6convert.php in case anyone stumbles over outdated doco. (cherry picked from commit c38fc0b9067382b91dcd26b4da9742fd9d650f6c) --- Zotlabs/Module/Z6trans.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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 '

Not Allowed

'; + + $o = '

' . t('Update to Hubzilla 5.0 step 2') . '


'; + + $o .= '

' . t('To complete the update please run') . '

'; + + $o .= '' . t('php util/z6convert.php') . ''; + + $o .= '

' . t('from the terminal.') . '

'; + + return $o; + +/* this code is outdated use util/z6convert.php instead $path = 'store/z6trans.sql'; @@ -106,6 +118,7 @@ class Z6trans extends Controller { $o .= '

' . t('INFO: this command can take a very long time depending on your DB size.') . '

'; return $o; +*/ } -- cgit v1.2.3