From ea95f7b7b0e189e7057bba6dab07d7dfcc12d8c6 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 19 Apr 2011 17:38:56 -0400 Subject: [PATCH] move long name to shorter name for bookmarklistitem --- plugins/Bookmark/BookmarkPlugin.php | 3 ++- ...{bookmarknoticelistitemadapter.php => bookmarklistitem.php} | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) rename plugins/Bookmark/{bookmarknoticelistitemadapter.php => bookmarklistitem.php} (98%) diff --git a/plugins/Bookmark/BookmarkPlugin.php b/plugins/Bookmark/BookmarkPlugin.php index 3166b9ee30..f8db77e2b7 100644 --- a/plugins/Bookmark/BookmarkPlugin.php +++ b/plugins/Bookmark/BookmarkPlugin.php @@ -159,6 +159,7 @@ class BookmarkPlugin extends MicroAppPlugin case 'Bookmark': include_once $dir.'/'.$cls.'.php'; return false; + case 'BookmarkListItem': case 'BookmarkForm': case 'InitialBookmarkForm': case 'DeliciousBackupImporter': @@ -521,7 +522,7 @@ class BookmarkPlugin extends MicroAppPlugin */ function adaptNoticeListItem($nli) { - return new BookmarkNoticeListItemAdapter($nli); + return new BookmarkListItem($nli); } function entryForm($out) diff --git a/plugins/Bookmark/bookmarknoticelistitemadapter.php b/plugins/Bookmark/bookmarklistitem.php similarity index 98% rename from plugins/Bookmark/bookmarknoticelistitemadapter.php rename to plugins/Bookmark/bookmarklistitem.php index c3a706744b..c4dcb7798f 100644 --- a/plugins/Bookmark/bookmarknoticelistitemadapter.php +++ b/plugins/Bookmark/bookmarklistitem.php @@ -45,7 +45,7 @@ if (!defined('STATUSNET')) { * @link http://status.net/ */ -class BookmarkNoticeListItemAdapter extends NoticeListItemAdapter +class BookmarkListItem extends NoticeListItemAdapter { function showContent() { -- 2.39.5