fix watchdog log for pgsql

This commit is contained in:
espie 2008-02-18 10:47:13 +00:00
parent 6818c06828
commit 94910ecbf4
2 changed files with 22 additions and 2 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/02/16 16:46:59 espie Exp $
# $OpenBSD: Makefile,v 1.2 2008/02/18 10:47:13 espie Exp $
COMMENT = document drupal site for other admins
DISTNAME = sitedoc-5.x-1.6
PKGNAME = drupal5-site-documentation-1.6
PKGNAME = drupal5-site-documentation-1.6p0
.include <bsd.port.mk>

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-sitedoc_install,v 1.1 2008/02/18 10:47:13 espie Exp $
--- sitedoc.install.orig Mon Feb 18 11:38:34 2008
+++ sitedoc.install Mon Feb 18 11:39:01 2008
@@ -8,7 +8,7 @@
*/
function sitedoc_install() {
global $user;
- watchdog('Site Documentation', 'sitedoc module installed by '. $user->uid);
+ watchdog('Site Doc.', 'sitedoc module installed by '. $user->uid);
drupal_set_message(t('The Site Documentation module was installed. You may want to go to the <a href="!settings">settings page now</a>.', array('!settings' => url('admin/settings/sitedoc'))));
}
@@ -27,5 +27,5 @@ function sitedoc_uninstall() {
cache_clear_all('*', 'cache_menu', TRUE);
drupal_set_message('Site Documentation module removed.');
- watchdog('Site Documentation', 'sitedoc module removed by user '. $user->uid);
- }
+ watchdog('Site Doc.', 'sitedoc module removed by user '. $user->uid);
+ }