diff --git a/airtime_mvc/application/models/User.php b/airtime_mvc/application/models/User.php index dc674aa3b..ed67641b5 100644 --- a/airtime_mvc/application/models/User.php +++ b/airtime_mvc/application/models/User.php @@ -233,6 +233,7 @@ class Application_Model_User public function getOwnedFiles() { $user = $this->_userInstance; + // do we need a find call at the end here? return $user->getCcFilessRelatedByDbOwnerId(); } @@ -244,6 +245,11 @@ class Application_Model_User } } + public function deleteAllFiles() + { + $my_files = $this->getOwnedFiles(); + } + private function createUser() { $user = new CcSubjs();