Skip to content

Commit

Permalink
updates for adding a feedname
Browse files Browse the repository at this point in the history
  • Loading branch information
tvroom committed Jun 19, 2007
1 parent d399f6c commit f0bbb36
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugins/Bookmark/Bookmark.pm
Expand Up @@ -88,6 +88,12 @@ sub getBookmarkFeeds {
$self->sqlSelectAllHashrefArray("*,RAND()", "bookmark_feeds", "", $other);
}

sub getBookmarkFeedByUid {
my($self, $uid) = @_;
my $uid_q = $self->sqlQuote($uid);
$self->sqlSelectHashref("*", "bookmark_feeds", "uid=$uid_q");
}

sub getBookmark {
my($self, $id) = @_;
my $id_q = $self->sqlQuote($id);
Expand Down
1 change: 1 addition & 0 deletions plugins/Bookmark/mysql_schema.sql
Expand Up @@ -15,5 +15,6 @@ CREATE TABLE bookmark_feeds (
uid MEDIUMINT UNSIGNED NOT NULL,
feed VARCHAR(255),
tags VARCHAR(255),
feedname VARCHAR(64)
PRIMARY KEY(id)
) TYPE=InnoDB;

0 comments on commit f0bbb36

Please sign in to comment.