We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit ec648fb7 authored by Brion Vibber's avatar Brion Vibber

Split Yammer importer files into subdirs before I get too lost adding UI

parent e6e8a16f
...@@ -68,9 +68,7 @@ class YammerImportPlugin extends Plugin ...@@ -68,9 +68,7 @@ class YammerImportPlugin extends Plugin
switch ($lower) { switch ($lower) {
case 'sn_yammerclient': case 'sn_yammerclient':
case 'yammerimporter': case 'yammerimporter':
case 'yammerimqueuehandler': require_once "$base/lib/$lower.php";
case 'importyammeraction':
require_once "$base/$lower.php";
return false; return false;
default: default:
return true; return true;
......
...@@ -4,7 +4,7 @@ if (php_sapi_name() != 'cli') { ...@@ -4,7 +4,7 @@ if (php_sapi_name() != 'cli') {
die('no'); die('no');
} }
define('INSTALLDIR', dirname(dirname(dirname(__FILE__)))); define('INSTALLDIR', dirname(dirname(dirname(dirname(__FILE__)))));
require INSTALLDIR . "/scripts/commandline.inc"; require INSTALLDIR . "/scripts/commandline.inc";
......
...@@ -4,7 +4,7 @@ if (php_sapi_name() != 'cli') { ...@@ -4,7 +4,7 @@ if (php_sapi_name() != 'cli') {
die('no'); die('no');
} }
define('INSTALLDIR', dirname(dirname(dirname(__FILE__)))); define('INSTALLDIR', dirname(dirname(dirname(dirname(__FILE__)))));
require INSTALLDIR . "/scripts/commandline.inc"; require INSTALLDIR . "/scripts/commandline.inc";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment