summaryrefslogtreecommitdiff
path: root/modules/digibug/controllers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-06-24 13:11:53 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-06-24 13:11:53 -0700
commit40e27e128e34601380079a02dca9346aed54c3bf (patch)
tree1952c93a39d21a8dd010c28aa672de25fecc4b9a /modules/digibug/controllers
parent0062f8a24a62fe8f5abdffcea8c35382afa32244 (diff)
Create a maintenance task that allows the administrator to remove any proxy requests
that are still active after 10 days. Digibug requires that the image be available for 5 days, so we'll give them an extra 5 days. Also correct a few issues with the protocol.
Diffstat (limited to 'modules/digibug/controllers')
-rw-r--r--modules/digibug/controllers/digibug.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/digibug/controllers/digibug.php b/modules/digibug/controllers/digibug.php
index 609da875..3a427149 100644
--- a/modules/digibug/controllers/digibug.php
+++ b/modules/digibug/controllers/digibug.php
@@ -41,7 +41,7 @@ class Digibug_Controller extends Controller {
"digibug_api_version" => "100",
"company_id" => $company_id,
"event_id" => $event_id,
- "cmd" => "adding",
+ "cmd" => "addimg",
"return_url" => url::abs_site("digibug/close_window"),
"num_images" => "1",
"image_1" => $url,
@@ -50,7 +50,7 @@ class Digibug_Controller extends Controller {
"image_width_1" => $item->width,
"thumb_height_1" => $item->thumb_height,
"thumb_width_1" => $item->thumb_width,
- "title" => $item->title);
+ "title_1" => $item->title);
print $v;
}