Fixed strict standards warning.

Made quickmail::delete_dialog() a static method.