Public feed #1367946

code snippet

public text v1 · immutable
Raw Edit
·published 2009-03-22 11:57 UTC
rendered paste body
                $con = Propel::getConnection();                $update = new Criteria();                $update->add(LinksPeer::STATUS,$Suspended);                $c1 = new Criteria();                $c1->add(DomainsPeer::USERID,$UserID);                $c1->addJoin(DomainsPeer::ID,LinksPeer::COMINGFROMDOMAINID,Criteria::LEFT_JOIN);                BasePeer::doUpdate($c1, $update, $con);