-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Solt,

Marcin SoXtysiak wrote:
| Hi,
|
| Here is the code:
|
|    $object=mgd_get_article($id);
|    $att=mgd_get_attachment($attid);
|    $object->deleteattachment($att->name) or die(mgd_errstr().":
| $att->name");
|
| Output:
|
| Resource has dependants: filename.ext
|
| For 101% $att is an attachment of $object.
|
| Any hints?

Are there parameters in the attachment?

Cheers!

~  //Henri

| Solt
|
|

- --
Henri Kaukola                   [EMAIL PROTECTED]
Consultant                      Tel: +358-20-198 6037
Nemein Oy                       http://www.nemein.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBI0Ti3xWc2AolrKgRAuPqAKCPh9r2LBBvjuLqevqernRzRDviNQCdFCMA
NCLXiZiP5k2m/l3Rp0a2Ua0=
=sC8y
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to