diff options
author | Mario Vavti <mario@mariovavti.com> | 2020-09-20 16:49:36 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2020-09-20 16:49:36 +0200 |
commit | c38fc0b9067382b91dcd26b4da9742fd9d650f6c (patch) | |
tree | 5f7685389600ba8e4be1173ccb298b7865161122 /Zotlabs/Module/Z6trans.php | |
parent | 2758d3c3eb278a9615552e1cfc11ec2ae4ff5a60 (diff) | |
download | volse-hubzilla-c38fc0b9067382b91dcd26b4da9742fd9d650f6c.tar.gz volse-hubzilla-c38fc0b9067382b91dcd26b4da9742fd9d650f6c.tar.bz2 volse-hubzilla-c38fc0b9067382b91dcd26b4da9742fd9d650f6c.zip |
adapt mod z6trans to point to util/z6convert.php in case anyone stumbles over outdated doco.
Diffstat (limited to 'Zotlabs/Module/Z6trans.php')
-rw-r--r-- | Zotlabs/Module/Z6trans.php | 15 |
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; +*/ } |