Show
Ignore:
Timestamp:
07/20/2008 11:03:48 AM (3 months ago)
Author:
Shadowhand
Message:

WARNING! This change makes a massive break in backwards compatibility!

Changes to core:

  • Config core class merged into Kohana: config, config_load, include_paths, config_clear
  • Log core class merged into Kohana: log, log_save, log_directory
  • Kohana::locale and l10n files removed
  • log config file removed, log_threshold and log_directory moved to core configuration
  • Kohana::cache and Kohana::cache_save now require a lifetime to be passed
  • Kohana::show_error removed
  • Optimizations applied to Kohana:: methods
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Pagination.php

    r3015 r3160  
    6363                $this->initialize($config); 
    6464 
    65                 Log::add('debug', 'Pagination Library initialized'); 
     65                Kohana::log('debug', 'Pagination Library initialized'); 
    6666        } 
    6767 
     
    7979                { 
    8080                        // Load and validate config group 
    81                         if ( ! is_array($group_config = Config::item('pagination.'.$config['group']))) 
     81                        if ( ! is_array($group_config = Kohana::config('pagination.'.$config['group']))) 
    8282                                throw new Kohana_Exception('pagination.undefined_group', $config['group']); 
    8383 
     
    8686                        { 
    8787                                // Load and validate default config group 
    88                                 if ( ! is_array($default_config = Config::item('pagination.default'))) 
     88                                if ( ! is_array($default_config = Kohana::config('pagination.default'))) 
    8989                                        throw new Kohana_Exception('pagination.undefined_group', 'default'); 
    9090