/[drupal]/contributions/modules/autoload/autoload.module
ViewVC logotype

Diff of /contributions/modules/autoload/autoload.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.3, Tue Dec 2 05:19:39 2008 UTC revision 1.1.2.4, Tue Mar 17 21:54:58 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: autoload.module,v 1.1.2.2 2008/12/02 05:13:51 crell Exp $  // $Id: autoload.module,v 1.1.2.3 2008/12/02 05:19:39 crell Exp $
3  /**  /**
4   * Implementation of hook_init().   * Implementation of hook_init().
5   */   */
# Line 8  function autoload_init() { Line 8  function autoload_init() {
8  }  }
9    
10  /**  /**
11   * Implementation of hook_flush_caches9).   * Implementation of hook_flush_caches().
12   */   */
13  function autoload_flush_caches() {  function autoload_flush_caches() {
14    // Force a rescan of the autload hook.    // Force a rescan of the autload hook.
# Line 21  function autoload_flush_caches() { Line 21  function autoload_flush_caches() {
21  function autoload_class($class) {  function autoload_class($class) {
22    static $lookup;    static $lookup;
23    
24    if (empty($lookup)) {    if (!isset($lookup)) {
25      $lookup = autoload_get_lookup();      $lookup = autoload_get_lookup();
26    }    }
27    

Legend:
Removed from v.1.1.2.3  
changed lines
  Added in v.1.1.2.4

  ViewVC Help
Powered by ViewVC 1.1.2