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

This commit is contained in:
Brion Vibber 2010-09-22 12:52:34 -07:00
parent e6e8a16f1c
commit ec648fb717
5 changed files with 3 additions and 5 deletions

View File

@ -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;

View File

@ -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";

View File

@ -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";