We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Deprecation Notice for Editor

Development and Programming

Derek Jones's avatar
Derek Jones
7,561 posts
8 years ago
Derek Jones's avatar Derek Jones

From GCT Software:

Deprecated function fetch_file_paths() called in system/user/addons/editor/ft.editor.php on line 504.
Deprecated since 3.0. Use File_upload_preferences_model::get_paths() instead.

This continues to pop up. Is there a fix for this? The developer is not in communication at this time.

       
Derek Jones's avatar
Derek Jones
7,561 posts
8 years ago
Derek Jones's avatar Derek Jones

This is a developer deprecation that indicates that a new method should be used instead of an old one. In this case, code that was using:

$file_paths = ee()->function->fetch_file_paths()

Should instead be using:

ee()->load->model('file_upload_preferences_model');
$file_paths = ee()->file_upload_preferences_model->get_paths();
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.