removed and deprecated functions
If you run into problems because of missing functions and/or files please use the forum to start a discussion or ask/search for an alternative solution.
The following functions/methods are marked deprecated in LEPTON 7.2 and will be removed in LEPTON 7.x :
- function.extract_permission.php
Following files/directories will be removed after LEPTON 7.2 :
Please also have a look to the classes LEPTON_core, LEPTON_handle and LEPTON_tools if there are some methods with similiar names to replace removed functions.
The following functions/methods are already removed in current stable release:
-
- ->get_post()
- ->get_post_escaped()
- ->get_get()
- ->get_session()
- ->get_server()
- ->get_user_id()
- ->get_groups_id()
- ->get_group_name()
- ->get_groups_name()
- ->get_username()
- ->get_display_name()
- ->get_email()
- ->get_home_folder()
- ->get_timezone_string()
-
for all above methods use LEPTON_core::getValue() instead
- function check_zipfile
- function get_variable_content
- function.js_alert_encode.php
- function.upgrade_module.php
- - $oLEPTON->page_description
- PAGE_DESCRIPTION
use constant DESCRIPTION instead - - $oLEPTON->page_keywords
- PAGE_KEYWORDS
use constant KEYWORDS instead
- function get_subs
use LEPTON_core::get_subs() instead - function make_dir
use LEPTON_core::make_dir() instead - function page_link
use $oLEPTON->buildPageLink() instead - function level_count
use LEPTON_core::level_count() instead - ->query()
use new methods instead - ->numRows()
use new methods instead - ->fetchRow()
use new methods instead - ->fetchAll()
use new methods instead - page_menu()
use show_menu2() instead - show_menu()
use show_menu2() instead - show_breadcrumbs()
use show_menu2() instead - checkIPv4address()
- chmod_directory_contents()
- media_dirs_ro()
- register_frontend_modfiles[_body]()
use get_page_headers() / get_page_footers() instead - __additems()
use additems() instead - valid_lepton_template()
- class.database
use lepton_database instead with autoload - class.wbmailer, class.lepmailer
use lepton_mailer instead with autoload - bind_jquery()
- page_header()
use WEBSITE_HEADER instead - page_footer()
use WEBSITE_FOOTER instead - all function files referring to utf-8 and iso
not needed any longer - class.admin.php
- class.admin_phplib.php
- class.admin_twig.php
- class.frontend.php
- class.lepton.filemanager.php
- class.login.php
- class.order.php
- class.securecms.php
- class.validate.request.php
- class.wb.php
- summary.droplets.php
- var.date_formats.php
- var.time_formats.php
- var.timezones.php
- function.get_addon_page_description.php
- function.get_addon_page_keywords.php
- function.get_addon_page_title.php
- function.get_droplet_headers.php
- function.is_registered_addon_header.php
- function.is_registered_droplet.php
- function.page_filename.php
use function.save_filename.php instead - function.register_addon_header.php
- function.register_droplet.php
- function.unregister_addon_header.php
- function.unregister_droplet.php
- function.sortPreCheckArray.php
- validate_email( \\$email )
use 'filter_var' instead
Following files/directories had already been removed:
- framework/class.secure.php
- framework/summary.addon_precheck.php
- framework/summary.frontend_functions.php
- framework/summary.functions.php
- framework/summary.module_edit_css.php
- framework/sys.constants.php
- framework/functions/function.addItems.php
- framework/functions/function.addTokens.php
- framework/functions/function.make_dir.php
- framework/functions/function.change_mode.php
- framework/functions/function.create_access_file.php
- framework/functions/function.createGUID.php
- framework/functions/function.delete_page.php
- /admins
- /templates/algos
- /include/yui
- /include/jscalendar
- /modules/jsadmin
- /framework/classes/class.admin_phplib.php
- /framework/functions/function.switch_theme.php
- /modules/lib_jquery/external/
jquery.idTabs.min
jquery.MetaData
jquery.MultiFile.pack
jquery-insert
jquery-plugin
jquery-pngFix
webkit_fix