diff options
author | Brion Vibber <brion@pobox.com> | 2010-09-21 13:56:30 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-09-28 07:44:20 -0700 |
commit | 599f4fe121f41629a1760b205747e6aec7f72fee (patch) | |
tree | e4c7849502a5da80219488d276404e9416a8ef2f /plugins/YammerImport/YammerImportPlugin.php | |
parent | 6d0ac28460e4227a357ee253566364ef50c298bf (diff) |
Beginning stub of Yammer message->notice import
Diffstat (limited to 'plugins/YammerImport/YammerImportPlugin.php')
-rw-r--r-- | plugins/YammerImport/YammerImportPlugin.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/YammerImport/YammerImportPlugin.php b/plugins/YammerImport/YammerImportPlugin.php index 02923493f..a3520d8a8 100644 --- a/plugins/YammerImport/YammerImportPlugin.php +++ b/plugins/YammerImport/YammerImportPlugin.php @@ -65,10 +65,12 @@ class YammerImportPlugin extends Plugin { $base = dirname(__FILE__); $lower = strtolower($cls); - switch ($cls) { + switch ($lower) { + case 'sn_yammerclient': + case 'yammerimporter': case 'yammerimqueuehandler': case 'importyammeraction': - require_once $base . $lower . '.php'; + require_once "$base/$lower.php"; return false; default: return true; |