Correct
On May 29, 2014 12:29 PM, "JustAWebDev" <notifications@github.com> wrote:

> In Model/Behavior/PurifiableBehavior.php:
>
> > @@ -80,8 +80,8 @@ function beforeSave(&$model) {
> >  		return true;
> >  	}
> >
> > -	function clean(&$model, $field) {
> > -		App::import('Vendor', 'Purifiable.htmlpurifier/htmlpurifier');
> > +	public function clean(Model $model, $field) {
> > +		App::import('Vendor', 'htmlpurifier/htmlpurifier');
>
> Just around the App::import(), correct? The benefit of this is that if
> there are mulitple fields to be cleaned than App::import won't run multiple
> times, right?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/josegonzalez/cakephp-purifiable/pull/3/files#r13189639>
> .
>