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':
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)

View File

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