[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13912] notes: rename constructor
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [13912] notes: rename constructor |
Date: |
Tue, 15 Sep 2015 11:00:44 +0000 |
Revision: 13912
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13912
Author: sigurdne
Date: 2015-09-15 11:00:44 +0000 (Tue, 15 Sep 2015)
Log Message:
-----------
notes: rename constructor
Modified Paths:
--------------
trunk/notes/inc/class.bonotes.inc.php
trunk/notes/inc/class.ipc_notes.inc.php
trunk/notes/inc/class.sonotes.inc.php
trunk/notes/inc/hook_admin.inc.php
trunk/notes/inc/hook_deleteaccount.inc.php
trunk/notes/inc/hook_help.inc.php
trunk/notes/inc/hook_preferences.inc.php
Modified: trunk/notes/inc/class.bonotes.inc.php
===================================================================
--- trunk/notes/inc/class.bonotes.inc.php 2015-09-15 10:59:03 UTC (rev
13911)
+++ trunk/notes/inc/class.bonotes.inc.php 2015-09-15 11:00:44 UTC (rev
13912)
@@ -69,7 +69,7 @@
)
);
- function bonotes($is_active=False)
+ function __construct($is_active=False)
{
$this->sonotes = CreateObject('notes.sonotes');
$this->start = 0;
@@ -450,4 +450,3 @@
return $keyExtern;
}
}
-?>
Modified: trunk/notes/inc/class.ipc_notes.inc.php
===================================================================
--- trunk/notes/inc/class.ipc_notes.inc.php 2015-09-15 10:59:03 UTC (rev
13911)
+++ trunk/notes/inc/class.ipc_notes.inc.php 2015-09-15 11:00:44 UTC (rev
13912)
@@ -39,7 +39,7 @@
*
* @access public
*/
- function ipc_notes()
+ function __construct()
{
$this->bonotes = CreateObject('notes.bonotes');
}
@@ -177,4 +177,3 @@
return !is_null($this->bonotes->read_single($id));
}
}
-?>
Modified: trunk/notes/inc/class.sonotes.inc.php
===================================================================
--- trunk/notes/inc/class.sonotes.inc.php 2015-09-15 10:59:03 UTC (rev
13911)
+++ trunk/notes/inc/class.sonotes.inc.php 2015-09-15 11:00:44 UTC (rev
13912)
@@ -36,7 +36,7 @@
var $db;
var $account;
- function sonotes()
+ function __construct()
{
$this->db = &$GLOBALS['phpgw']->db;
$this->account =
$GLOBALS['phpgw_info']['user']['account_id'];
Modified: trunk/notes/inc/hook_admin.inc.php
===================================================================
--- trunk/notes/inc/hook_admin.inc.php 2015-09-15 10:59:03 UTC (rev 13911)
+++ trunk/notes/inc/hook_admin.inc.php 2015-09-15 11:00:44 UTC (rev 13912)
@@ -31,4 +31,3 @@
);
$GLOBALS['phpgw']->common->display_mainscreen($appname,$file);
}
-?>
Modified: trunk/notes/inc/hook_deleteaccount.inc.php
===================================================================
--- trunk/notes/inc/hook_deleteaccount.inc.php 2015-09-15 10:59:03 UTC (rev
13911)
+++ trunk/notes/inc/hook_deleteaccount.inc.php 2015-09-15 11:00:44 UTC (rev
13912)
@@ -37,4 +37,3 @@
. ' WHERE note_owner=' . (int) $_POST['account_id'],
__LINE__, __FILE__);
}
$db->unlock();
-?>
Modified: trunk/notes/inc/hook_help.inc.php
===================================================================
--- trunk/notes/inc/hook_help.inc.php 2015-09-15 10:59:03 UTC (rev 13911)
+++ trunk/notes/inc/hook_help.inc.php 2015-09-15 11:00:44 UTC (rev 13912)
@@ -39,4 +39,3 @@
);
$GLOBALS['phpgw']->help->draw();
-?>
Modified: trunk/notes/inc/hook_preferences.inc.php
===================================================================
--- trunk/notes/inc/hook_preferences.inc.php 2015-09-15 10:59:03 UTC (rev
13911)
+++ trunk/notes/inc/hook_preferences.inc.php 2015-09-15 11:00:44 UTC (rev
13912)
@@ -33,4 +33,3 @@
// Do not modify below this line
display_section($appname,$file);
}
-?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13912] notes: rename constructor,
Sigurd Nes <=