import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
* @package Zend_Validate
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Extension.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
* @version $Id: Extension.php 18148 2009-09-16 19:27:43Z thomas $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -71,8 +71,7 @@ class Zend_Validate_File_Extension extends Zend_Validate_Abstract
|
||||
/**
|
||||
* Sets validator options
|
||||
*
|
||||
* @param string|array $extension
|
||||
* @param boolean $case If true validation is done case sensitive
|
||||
* @param string|array|Zend_Config $options
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($options)
|
||||
@ -82,7 +81,8 @@ class Zend_Validate_File_Extension extends Zend_Validate_Abstract
|
||||
}
|
||||
|
||||
if (1 < func_num_args()) {
|
||||
trigger_error('Multiple arguments to constructor are deprecated in favor of options array', E_USER_NOTICE);
|
||||
// @todo: Preperation for 2.0... needs to be cleared with the dev-team
|
||||
// trigger_error('Multiple arguments to constructor are deprecated in favor of options array', E_USER_NOTICE);
|
||||
$case = func_get_arg(1);
|
||||
$this->setCase($case);
|
||||
}
|
||||
|
Reference in New Issue
Block a user