From eb00b5cbb390f1052e8bc95239acfb26689e4480 Mon Sep 17 00:00:00 2001
From: Rudi Grinberg <rudi.grinberg@sourcefabric.org>
Date: Mon, 16 Jul 2012 18:08:17 -0400
Subject: [PATCH] cc-4105: renamed controller action and method to correct name

---
 airtime_mvc/application/controllers/ApiController.php | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/airtime_mvc/application/controllers/ApiController.php b/airtime_mvc/application/controllers/ApiController.php
index 916a0b5cb..80fbbba28 100644
--- a/airtime_mvc/application/controllers/ApiController.php
+++ b/airtime_mvc/application/controllers/ApiController.php
@@ -389,17 +389,17 @@ class ApiController extends Zend_Controller_Action
         }
     }
 
-    public function uploadRecordAction() {
+    public function uploadRecordedAction() {
         $show_instance_id = $this->_getParam('showinstanceid');
         $file_id = $this->_getParam('fileid');
         $this->view->fileid = $file_id;
         $this->view->showinstanceid = $show_instance_id;
-        $this->uploadRecordActionParam($show_instance_id, $file_id);
+        $this->uploadRecordedActionParam($show_instance_id, $file_id);
     }
 
-    // The paramterized version of the uploadRecordAction controller. We want this controller's action
+    // The paramterized version of the uploadRecordedAction controller. We want this controller's action
     // to be invokable from other controllers instead being of only through http
-    public function uploadRecordActionParam($show_instance_id, $file_id)
+    public function uploadRecordedActionParam($show_instance_id, $file_id)
     {
         $showCanceled = false;
         $file = Application_Model_StoredFile::Recall($file_id);
@@ -543,7 +543,7 @@ class ApiController extends Zend_Controller_Action
             // was usually called from the python api
             if( $info_json['is_record'] ) {
                 // TODO : must check for error in $response before proceeding...
-                $this->uploadRecordActionParam($info_json['showinstanceid'],$info_json['fileid']);
+                $this->uploadRecordedActionParam($info_json['showinstanceid'],$info_json['fileid']);
             }
             // TODO : Remove this line when done debugging
             Logging::log( $info_json );