Changeset 679 in svn


Ignore:
Timestamp:
2009-09-07T08:10:48Z (6 years ago)
Author:
Xuefer
Message:

remove superfluous code about auto_globals

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.c

    r671 r679  
    586586static zend_bool xc_auto_global_callback(char *name, uint name_len TSRMLS_DC) /* {{{ */
    587587{
    588     zend_auto_global *auto_global;
    589     if (zend_u_hash_find(CG(auto_globals), UG(unicode) ? IS_UNICODE : IS_STRING, ZSTR(name), name_len + 1, (void **) &auto_global) == FAILURE) {
    590         return 1;
    591     }
    592588    return 0;
    593589}
  • trunk/xcache.c

    r673 r679  
    773773    for (i = 0; i < p->autoglobal_cnt; i ++) {
    774774        xc_autoglobal_t *aginfo = &p->autoglobals[i];
    775         /*
    776         zend_auto_global *auto_global;
    777         if (zend_u_hash_quick_find(CG(auto_globals), aginfo->type, aginfo->key, aginfo->key_len+1, aginfo->h, (void **) &auto_global)==SUCCESS) {
    778             if (auto_global->armed) {
    779                 auto_global->armed = auto_global->auto_global_callback(auto_global->name, auto_global->name_len TSRMLS_CC);
    780             }
    781         }
    782         */
    783775        zend_u_is_auto_global(aginfo->type, aginfo->key, aginfo->key_len TSRMLS_CC);
    784776    }
Note: See TracChangeset for help on using the changeset viewer.