From 6c2637d973a8887bdccf4cdbd15e30643605c576 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 24 Dec 2012 15:03:19 +0400 Subject: move data import/export to a separate plugin --- classes/dlg.php | 41 ----------------------------------------- 1 file changed, 41 deletions(-) (limited to 'classes/dlg.php') diff --git a/classes/dlg.php b/classes/dlg.php index 10b6d580e..09f7cc387 100644 --- a/classes/dlg.php +++ b/classes/dlg.php @@ -16,24 +16,6 @@ class Dlg extends Handler_Protected { print ""; } - function exportData() { - - print "

You need to prepare exported data first by clicking the button below.

"; - - print "
"; - print ""; - - print ""; - - print "
"; - - - } - function importOpml() { header("Content-Type: text/html"); # required for iframe @@ -704,29 +686,6 @@ class Dlg extends Handler_Protected { return; } - function dataImport() { - header("Content-Type: text/html"); # required for iframe - - print "
"; - - if (is_file($_FILES['export_file']['tmp_name'])) { - - perform_data_import($this->link, $_FILES['export_file']['tmp_name'], $_SESSION['uid']); - - } else { - print "

" . T_sprintf("Could not upload file. You might need to adjust upload_max_filesize - in PHP.ini (current value = %s)", ini_get("upload_max_filesize")) . " or use CLI import tool.

"; - - } - - print ""; - - print "
"; - - } - function batchSubscribe() { print ""; print ""; -- cgit v1.2.3