Added the queue system to handle the webhooks and asynchronous events.

This commit is contained in:
Loic d'Anterroches
2010-05-06 10:27:08 +02:00
parent d7843a55bd
commit 2f22d48dd0
4 changed files with 243 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ function IDF_Migrations_Backup_run($folder, $name=null)
'IDF_Review_FileComment',
'IDF_Key',
'IDF_Scm_Cache_Git',
'IDF_Queue',
);
$db = Pluf::db();
// Now, for each table, we dump the content in json, this is a
@@ -94,6 +95,7 @@ function IDF_Migrations_Backup_restore($folder, $name)
'IDF_Review_FileComment',
'IDF_Key',
'IDF_Scm_Cache_Git',
'IDF_Queue',
);
$db = Pluf::db();
$schema = new Pluf_DB_Schema($db);