Commits

Christoffer Niska  committed 9523aeb

removed an unnecessary method

  • Participants
  • Parent commits ee07fb7

Comments (0)

Files changed (1)

File controllers/DefaultController.php

 		else
 			throw new CHttpException(404,Img::t('error','Failed to create image! Version is unknown.'));
 	}
-
-	/**
-	 * Creates and renders a new version of a specific image.
-	 * @param string $filename the image file name.
-	 */
-	public function actionCreateFromFilename($filename)
-	{
-		$thumb = Yii::app()->image->createVersionFromFilename($filename);
-		$thumb->render();
-	}
 }