Re: svn: /phpdoc/en/trunk/reference/mongo/ mongo/dropdb.xml mongo/selectcollection.xml mongo/selectdb.xml mongodb/dropcollection.xml
| From: | Hannes Magnusson | Date: | Wed, 12 May 2010 23:07:51 +0000 |
| Subject: | Re: svn: /phpdoc/en/trunk/reference/mongo/ mongo/dropdb.xml mongo/selectcollection.xml mongo/selectdb.xml mongodb/dropcollection.xml | ||
| References: | 1 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-6637@lists.php.net to get a copy of this message | ||
On Thu, May 13, 2010 at 00:32, Kristina Chodorow <kristina@php.net> wrote:
> kristina Wed, 12 May 2010 22:32:56 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=299313
>
> Log:
> deprecate stuff
>
> Changed paths:
> U phpdoc/en/trunk/reference/mongo/mongo/dropdb.xml
> U phpdoc/en/trunk/reference/mongo/mongo/selectcollection.xml
> U phpdoc/en/trunk/reference/mongo/mongo/selectdb.xml
> U phpdoc/en/trunk/reference/mongo/mongodb/dropcollection.xml
>
[...]
> Modified: phpdoc/en/trunk/reference/mongo/mongodb/dropcollection.xml
> ===================================================================
> --- phpdoc/en/trunk/reference/mongo/mongodb/dropcollection.xml 2010-05-12 22:24:48 UTC (rev
> 299312)
> +++ phpdoc/en/trunk/reference/mongo/mongodb/dropcollection.xml 2010-05-12 22:32:56 UTC (rev
> 299313)
> @@ -4,7 +4,7 @@
> <refentry xml:id="mongodb.dropcollection"
> xmlns="http://docbook.org/ns/docbook"
> xmlns:xlink="http://www.w3.org/1999/xlink">
> <refnamediv>
> <refname>MongoDB::dropCollection</refname>
> - <refpurpose>Drops a collection</refpurpose>
> + <refpurpose>Drops a collection [deprecated]</refpurpose>
> </refnamediv>
> <refsect1 role="description">
> &reftitle.description;
> @@ -12,6 +12,15 @@
> <modifier>public</modifier>
> <type>array</type><methodname>MongoDB::dropCollection</methodname>
>
> <methodparam><type>mixed</type><parameter>coll</parameter></methodparam>
> </methodsynopsis>
> +
> + <warning>
> + <title>Deprecated</title>
> + <para>
> + Use <function>MongoCollection::drop</function> instead. THIS FUNCTION
> LEAKS
> + MEMORY IN VERSION 1.0.7 AND EARLIER!
> + </para>
Not cool man. Not cool.
Please use the proper markup for emphasis, the <emphasis> element for example.
-Hannes.