/**
  * 28 Create request_urls and export any photos (from pre 2.5 installs)
  */
 public function actionCalculateInventory()
 {
     //First, run our request_url creation if needed
     $matches = Product::RecalculateInventory();
     if ($matches > 0) {
         return array('result' => "success", 'makeline' => 28, 'tag' => 'Calculating available inventory ' . $matches . ' products remaining', 'total' => 50);
     } else {
         return array('result' => "success", 'makeline' => 29, 'tag' => 'Migrating Database', 'total' => 50);
     }
 }