Committer: afedorov
LJSUP-10900: Implement MessagePack protocol driver to access to Relation Service.U trunk/cgi-bin/LJ/RelationService.pm
Modified: trunk/cgi-bin/LJ/RelationService.pm =================================================================== --- trunk/cgi-bin/LJ/RelationService.pm 2012-05-18 14:12:33 UTC (rev 22001) +++ trunk/cgi-bin/LJ/RelationService.pm 2012-05-18 14:50:05 UTC (rev 22002) @@ -218,7 +218,7 @@ return unless $u; - if ($class->_load_alt_api('write', 'F')) { + if ($class->_load_alt_api('update', 'F')) { my $alt = $class->alt_api($u); if ($alt) { $alt->delete_and_purge_completely($u, %opts); @@ -235,7 +235,7 @@ return undef unless ref $edges eq 'ARRAY'; - if ($class->_load_alt_api('write', 'B')) { + if ($class->_load_alt_api('update', 'B')) { my $alt = $class->alt_api(); if ($alt) { $alt->clear_rel_multi($edges); @@ -252,7 +252,7 @@ return undef unless ref $edges eq 'ARRAY'; - if ($class->_load_alt_api('write', 'B')) { + if ($class->_load_alt_api('update', 'B')) { my $alt = $class->alt_api(); if ($alt) { $alt->set_rel_multi($edges);