summaryrefslogtreecommitdiff
path: root/plugins/import_export
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-25 10:02:08 +0400
committerAndrew Dolgov <[email protected]>2012-12-25 10:02:08 +0400
commitd2a421e3cbaa782748840fc19afad4ac65f044b8 (patch)
treefed3583a4f855c5c0c7c7a9d6c3f8effc94932d6 /plugins/import_export
parentde612e7a3850d3053c7038e94098c0681d46983b (diff)
more work on user-selectable plugins; properly process system and user plugins
Diffstat (limited to 'plugins/import_export')
-rw-r--r--plugins/import_export/import_export.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/import_export/import_export.php b/plugins/import_export/import_export.php
index 68597978b..823976565 100644
--- a/plugins/import_export/import_export.php
+++ b/plugins/import_export/import_export.php
@@ -4,7 +4,7 @@ class Import_Export extends Plugin implements IHandler {
private $link;
private $host;
- function __construct($host) {
+ function init($host) {
$this->link = $host->get_link();
$this->host = $host;
@@ -12,7 +12,7 @@ class Import_Export extends Plugin implements IHandler {
$host->add_command("xml-import", "USER FILE: import articles from XML", $this);
}
- function _about() {
+ function about() {
return array(1.0,
"Imports and exports user data using a neutral XML format",
"fox");