Bug #300387 --> markStored declared twice in FeedItem.js

git-svn-id: svn://10.0.0.236/trunk@175920 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scott%scott-macgregor.org 2005-07-11 18:01:06 +00:00
parent 5fd71b4760
commit e7d523fde6

View File

@ -293,24 +293,6 @@ FeedItem.prototype =
ds.Assert(resource, FZ_STORED, RDF_LITERAL_TRUE, true);
},
markStored: function()
{
var ds = getItemsDS(this.feed.server);
var resource = rdf.GetResource(this.mURL || ("urn:" + this.id));
if (!ds.HasAssertion(resource, FZ_FEED, rdf.GetResource(this.feed.url), true))
ds.Assert(resource, FZ_FEED, rdf.GetResource(this.feed.url), true);
var currentValue;
if (ds.hasArcOut(resource, FZ_STORED))
{
currentValue = ds.GetTarget(resource, FZ_STORED, true);
ds.Change(resource, FZ_STORED, currentValue, RDF_LITERAL_TRUE);
}
else
ds.Assert(resource, FZ_STORED, RDF_LITERAL_TRUE, true);
},
mimeEncodeSubject: function(aSubject, aCharset)
{
// get the mime header encoder service