move long name to shorter name for bookmarklistitem

This commit is contained in:
Evan Prodromou 2011-04-19 17:38:56 -04:00
parent 25a037ba9c
commit ea95f7b7b0
2 changed files with 3 additions and 2 deletions

View File

@ -159,6 +159,7 @@ class BookmarkPlugin extends MicroAppPlugin
case 'Bookmark': case 'Bookmark':
include_once $dir.'/'.$cls.'.php'; include_once $dir.'/'.$cls.'.php';
return false; return false;
case 'BookmarkListItem':
case 'BookmarkForm': case 'BookmarkForm':
case 'InitialBookmarkForm': case 'InitialBookmarkForm':
case 'DeliciousBackupImporter': case 'DeliciousBackupImporter':
@ -521,7 +522,7 @@ class BookmarkPlugin extends MicroAppPlugin
*/ */
function adaptNoticeListItem($nli) function adaptNoticeListItem($nli)
{ {
return new BookmarkNoticeListItemAdapter($nli); return new BookmarkListItem($nli);
} }
function entryForm($out) function entryForm($out)

View File

@ -45,7 +45,7 @@ if (!defined('STATUSNET')) {
* @link http://status.net/ * @link http://status.net/
*/ */
class BookmarkNoticeListItemAdapter extends NoticeListItemAdapter class BookmarkListItem extends NoticeListItemAdapter
{ {
function showContent() function showContent()
{ {