@@ -2443,36 +2443,12 @@ static HashTable *row_get_properties_for(zend_object *object, zend_prop_purpose
2443
2443
return props ;
2444
2444
}
2445
2445
2446
- static zend_function * row_method_get (
2447
- zend_object * * object_pp ,
2448
- zend_string * method_name , const zval * key )
2449
- {
2450
- zend_function * fbc ;
2451
- zend_string * lc_method_name ;
2452
-
2453
- lc_method_name = zend_string_tolower (method_name );
2454
-
2455
- if ((fbc = zend_hash_find_ptr (& pdo_row_ce -> function_table , lc_method_name )) == NULL ) {
2456
- zend_string_release_ex (lc_method_name , 0 );
2457
- return NULL ;
2458
- }
2459
-
2460
- zend_string_release_ex (lc_method_name , 0 );
2461
-
2462
- return fbc ;
2463
- }
2464
-
2465
2446
static zend_function * row_get_ctor (zend_object * object )
2466
2447
{
2467
2448
zend_throw_exception_ex (php_pdo_get_exception (), 0 , "You may not create a PDORow manually" );
2468
2449
return NULL ;
2469
2450
}
2470
2451
2471
- static zend_string * row_get_classname (const zend_object * object )
2472
- {
2473
- return zend_string_init ("PDORow" , sizeof ("PDORow" ) - 1 , 0 );
2474
- }
2475
-
2476
2452
void pdo_row_free_storage (zend_object * std )
2477
2453
{
2478
2454
pdo_row_t * row = (pdo_row_t * )std ;
@@ -2522,8 +2498,6 @@ void pdo_stmt_init(void)
2522
2498
pdo_row_object_handlers .has_dimension = row_dim_exists ;
2523
2499
pdo_row_object_handlers .unset_dimension = row_dim_delete ;
2524
2500
pdo_row_object_handlers .get_properties_for = row_get_properties_for ;
2525
- pdo_row_object_handlers .get_method = row_method_get ;
2526
2501
pdo_row_object_handlers .get_constructor = row_get_ctor ;
2527
- pdo_row_object_handlers .get_class_name = row_get_classname ;
2528
2502
pdo_row_object_handlers .compare = zend_objects_not_comparable ;
2529
2503
}
0 commit comments