Here is my delete function for a user.

function delete($id = null) {
                if (!$id) {
                        $this->Session->setFlash(__('Invalid id for
User', true));
                        $this->redirect(array('action'=>'index'));
                }
                if ($this->User->del($id)) {
                                $this->Aro = new Aro();
                                $this->Aro->delete('User::'.$this->Aro-
>id);
                                $this->Session->setFlash(__('User
deleted', true));
                                $this-
>redirect(array('action'=>'index'));
                }
        }


But then again, no matter how i execute the code. it will not delete
the row with that alias in the aros table.

am i missing something?

i used id and alias because that's what the api said.

any help is much appreciated.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to