1
0

Delete Descriptions when deleting program (+ more)

This commit is contained in:
2014-07-06 15:45:52 +02:00
parent 427b5b1dc4
commit 6a797015cb
7 changed files with 282 additions and 242 deletions

View File

@@ -246,4 +246,8 @@ class Program extends CActiveRecord
return $result;
}
public function deleteDescriptions() {
MsHelper::deleteDir("data/programs/desc/" . $this->Name . "/");
}
}