Added the possible deletion of the repository when deleting a subversion project.

This commit is contained in:
Loic d'Anterroches
2009-06-25 21:37:46 +02:00
parent fcefbe719f
commit 2ab52e7eaf
4 changed files with 60 additions and 2 deletions

View File

@@ -586,6 +586,28 @@ class IDF_Project extends Pluf_Model
*/
public function preDelete()
{
/**
* [signal]
*
* IDF_Project::preDelete
*
* [sender]
*
* IDF_Project
*
* [description]
*
* This signal allows an application to perform special
* operations at the deletion of a project.
*
* [parameters]
*
* array('project' => $project)
*
*/
$params = array('project' => $this);
Pluf_Signal::send('IDF_Project::preDelete',
'IDF_Project', $params);
$what = array('IDF_Upload', 'IDF_Review', 'IDF_Issue',
'IDF_WikiPage', 'IDF_Commit',
);