/** * Overwrites the delete method for User so that calling delete on a user * actually just bans/hides the user */ public function delete(PropelPDO $con = null) { parent::setHidden(true); return parent::save(); }