[20859] Delete obsolete

Sigurd Nes <[email protected]>
Newsgroups gmane.comp.web.phpgroupware.cvs
Message-ID <[email protected]>
Revision: 20859
          http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20859
Author:   sigurdne
Date:     2009-11-20 12:24:18 +0000 (Fri, 20 Nov 2009)
Log Message:
-----------
Delete obsolete

Removed Paths:
-------------
    people/sigurdne/modules/messenger/trunk/inc/hook_admin.inc.php
    people/sigurdne/modules/messenger/trunk/inc/hook_mypage.inc.php

Deleted: people/sigurdne/modules/messenger/trunk/inc/hook_admin.inc.php
===================================================================
--- people/sigurdne/modules/messenger/trunk/inc/hook_admin.inc.php	2009-11-20 12:23:59 UTC (rev 20858)
+++ people/sigurdne/modules/messenger/trunk/inc/hook_admin.inc.php	2009-11-20 12:24:18 UTC (rev 20859)
@@ -1,24 +0,0 @@
-<?php
-	/**************************************************************************\
-	* phpGroupWare - Messenger                                                 *
-	* http://www.phpgroupware.org                                              *
-	* This application written by Joseph Engo <[email protected]>         *
-	* --------------------------------------------                             *
-	* Funding for this program was provided by http://www.checkwithmom.com     *
-	* --------------------------------------------                             *
-	*  This program is free software; you can redistribute it and/or modify it *
-	*  under the terms of the GNU General Public License as published by the   *
-	*  Free Software Foundation; either version 2 of the License, or (at your  *
-	*  option) any later version.                                              *
-	\**************************************************************************/
-	/* $Id$ */
-
-	{
-		$file = Array
-		(
-			'Site Configuration'	=> $GLOBALS['phpgw']->link('/index.php', array('menuaction' => 'admin.uiconfig.index', 'appname' => 'messenger') ),
-		);
-		$GLOBALS['phpgw']->common->display_mainscreen($appname,$file);
-	}
-
-?>

Deleted: people/sigurdne/modules/messenger/trunk/inc/hook_mypage.inc.php
===================================================================
--- people/sigurdne/modules/messenger/trunk/inc/hook_mypage.inc.php	2009-11-20 12:23:59 UTC (rev 20858)
+++ people/sigurdne/modules/messenger/trunk/inc/hook_mypage.inc.php	2009-11-20 12:24:18 UTC (rev 20859)
@@ -1,40 +0,0 @@
-<?php
-	/**************************************************************************\
-	* phpGroupWare - Messenger                                                 *
-	* http://www.phpgroupware.org                                              *
-	* This application written by Joseph Engo <[email protected]>         *
-	* --------------------------------------------                             *
-	* Funding for this program was provided by http://www.checkwithmom.com     *
-	* --------------------------------------------                             *
-	*  This program is free software; you can redistribute it and/or modify it *
-	*  under the terms of the GNU General Public License as published by the   *
-	*  Free Software Foundation; either version 2 of the License, or (at your  *
-	*  option) any later version.                                              *
-	\**************************************************************************/
-
-	/* $Id$ */
-
-	global $hooks_string;
-
-	$lastlogin = $GLOBALS['phpgw']->session->appsession('account_previous_login','phpgwapi');
-	if ($lastlogin)
-	{
-		$GLOBALS['phpgw']->db->query("select count(*) from phpgw_messenger_messages where message_owner='"
-				. $GLOBALS['phpgw_info']['user']['account_id'] . "' and message_status='N' and message_date > $lastlogin",__LINE__,__FILE__);
-		$GLOBALS['phpgw']->db->next_record();
-	
-		if ($GLOBALS['phpgw']->db->f(0))
-		{
-			$hooks_string['messenger'] = '<p><b><font size="-1">Messenger</font></b><ul><font size="-1"><li>' . lang('You have %1 new message' . ($GLOBALS['phpgw']->db->f(0)>1?'s':'') . ' in your inbox!',$GLOBALS['phpgw']->db->f(0))
-				. '<br>[<a href="' . $GLOBALS['phpgw']->link('/index.php', array('menuaction' => 'messenger.uimessenger.inbox'))
-				. '">View Messages</a> | <a href="' . $GLOBALS['phpgw']->link('/index.php', array('menuaction' => 'messenger.uimessenger.compose'))
-				. '">Send a Message</a>]</font></ul>';	
-		}
-		else
-		{
-			$hooks_string['messenger'] = '<p><b><font size="-1">Messenger</font></b><ul><font size="-1"><li> No new personal messages have been sent to you.<br>'
-				. '[<a href="' . $GLOBALS['phpgw']->link('/index.php', array('menuaction' => 'messenger.uimessenger.inbox'))
-				. '">View Messages</a> | <a href="' . $GLOBALS['phpgw']->link('/index.php', array('menuaction' => 'messenger.uimessenger.compose'))
-				. '">Send a Message</a>]</font></ul>';	
-		}
-	}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.