@@ -140,25 +140,6 @@ PHP_METHOD(WriteResult, getUpsertedCount)
140140 RETURN_LONG (intern -> write_result .nUpserted );
141141}
142142/* }}} */
143- /* {{{ proto array WriteResult::getInfo()
144- FIXME: See PHPC-72 & CDRIVER-428
145- Returns metadata about the operation. */
146- PHP_METHOD (WriteResult , getInfo )
147- {
148- php_phongo_writeresult_t * intern ;
149- (void )return_value_ptr ; (void )return_value_used ;
150-
151-
152- intern = (php_phongo_writeresult_t * )zend_object_store_get_object (getThis () TSRMLS_CC );
153-
154- if (zend_parse_parameters_none () == FAILURE ) {
155- return ;
156- }
157-
158-
159- array_init (return_value );
160- }
161- /* }}} */
162143/* {{{ proto MongoDB\Driver\Server WriteResult::getServer()
163144 Returns the Server from which the result originated */
164145PHP_METHOD (WriteResult , getServer )
@@ -374,9 +355,6 @@ ZEND_END_ARG_INFO();
374355ZEND_BEGIN_ARG_INFO_EX (ai_WriteResult_getUpsertedCount , 0 , 0 , 0 )
375356ZEND_END_ARG_INFO ();
376357
377- ZEND_BEGIN_ARG_INFO_EX (ai_WriteResult_getInfo , 0 , 0 , 0 )
378- ZEND_END_ARG_INFO ();
379-
380358ZEND_BEGIN_ARG_INFO_EX (ai_WriteResult_getServer , 0 , 0 , 0 )
381359ZEND_END_ARG_INFO ();
382360
@@ -400,7 +378,6 @@ static zend_function_entry php_phongo_writeresult_me[] = {
400378 PHP_ME (WriteResult , getModifiedCount , ai_WriteResult_getModifiedCount , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
401379 PHP_ME (WriteResult , getDeletedCount , ai_WriteResult_getDeletedCount , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
402380 PHP_ME (WriteResult , getUpsertedCount , ai_WriteResult_getUpsertedCount , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
403- PHP_ME (WriteResult , getInfo , ai_WriteResult_getInfo , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
404381 PHP_ME (WriteResult , getServer , ai_WriteResult_getServer , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
405382 PHP_ME (WriteResult , getUpsertedIds , ai_WriteResult_getUpsertedIds , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
406383 PHP_ME (WriteResult , getWriteConcernError , ai_WriteResult_getWriteConcernError , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
0 commit comments