Committer: vtroitsky
LJSUP-12300: Update documentations for internal APIs functionsU trunk/cgi-bin/LJ/Pay/SelfPromo.pm
Modified: trunk/cgi-bin/LJ/Pay/SelfPromo.pm =================================================================== --- trunk/cgi-bin/LJ/Pay/SelfPromo.pm 2012-06-01 13:59:02 UTC (rev 12051) +++ trunk/cgi-bin/LJ/Pay/SelfPromo.pm 2012-06-01 16:36:42 UTC (rev 12052) @@ -58,9 +58,8 @@ Check that specified object is eligible to promote: As object may be considered: entries and users (entries and communities) Have to be overriden in childs - - REFACTOR: - 1. create PromotedObject object from passed object (or use them if it's already passed) + REQ: accept PromotedObject objects + PROCESSING: 2. call $promoted->is_eligible($promoter) 3. Ensure that object isn't currently promoted in all promos!!!