@@ -140,25 +140,6 @@ PHP_METHOD(WriteResult, getUpsertedCount)
140
140
RETURN_LONG (intern -> write_result .nUpserted );
141
141
}
142
142
/* }}} */
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
- /* }}} */
162
143
/* {{{ proto MongoDB\Driver\Server WriteResult::getServer()
163
144
Returns the Server from which the result originated */
164
145
PHP_METHOD (WriteResult , getServer )
@@ -374,9 +355,6 @@ ZEND_END_ARG_INFO();
374
355
ZEND_BEGIN_ARG_INFO_EX (ai_WriteResult_getUpsertedCount , 0 , 0 , 0 )
375
356
ZEND_END_ARG_INFO ();
376
357
377
- ZEND_BEGIN_ARG_INFO_EX (ai_WriteResult_getInfo , 0 , 0 , 0 )
378
- ZEND_END_ARG_INFO ();
379
-
380
358
ZEND_BEGIN_ARG_INFO_EX (ai_WriteResult_getServer , 0 , 0 , 0 )
381
359
ZEND_END_ARG_INFO ();
382
360
@@ -400,7 +378,6 @@ static zend_function_entry php_phongo_writeresult_me[] = {
400
378
PHP_ME (WriteResult , getModifiedCount , ai_WriteResult_getModifiedCount , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
401
379
PHP_ME (WriteResult , getDeletedCount , ai_WriteResult_getDeletedCount , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
402
380
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 )
404
381
PHP_ME (WriteResult , getServer , ai_WriteResult_getServer , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
405
382
PHP_ME (WriteResult , getUpsertedIds , ai_WriteResult_getUpsertedIds , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
406
383
PHP_ME (WriteResult , getWriteConcernError , ai_WriteResult_getWriteConcernError , ZEND_ACC_PUBLIC |ZEND_ACC_FINAL )
0 commit comments