summaryrefslogtreecommitdiff
path: root/plugins/SocialPhoto/SocialPhotoPlugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SocialPhoto/SocialPhotoPlugin.php')
-rw-r--r--plugins/SocialPhoto/SocialPhotoPlugin.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/SocialPhoto/SocialPhotoPlugin.php b/plugins/SocialPhoto/SocialPhotoPlugin.php
new file mode 100644
index 000000000..2af00af82
--- /dev/null
+++ b/plugins/SocialPhoto/SocialPhotoPlugin.php
@@ -0,0 +1,22 @@
+<?php
+
+if (!defined('STATUSNET')) {
+ exit(1);
+}
+
+require_once dirname(__FILE__) . 'SocialPhoto.php';
+require_once INSTALLDIR . '/plugins/SocialObject/SocialObjectPlugin.php';
+
+class SocialPhotoPlugin extends SocialObjectPlugin
+{
+ var $name = 'Photo';
+ var $name_plural = 'Photos';
+ var $slug = 'photo';
+ var $slug_plural = 'photos';
+ var $plugin_path = null;
+ var $dbclass = 'SocialPhoto';
+
+ function initialize() {
+ $this->plugin_path = dirname(__FILE__);
+ }
+}