[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [8287] rental: typo
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [8287] rental: typo |
Date: |
Wed, 14 Dec 2011 08:38:19 +0000 |
Revision: 8287
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8287
Author: sigurdne
Date: 2011-12-14 08:38:19 +0000 (Wed, 14 Dec 2011)
Log Message:
-----------
rental: typo
Modified Paths:
--------------
trunk/rental/inc/class.uiparty.inc.php
Modified: trunk/rental/inc/class.uiparty.inc.php
===================================================================
--- trunk/rental/inc/class.uiparty.inc.php 2011-12-13 21:41:53 UTC (rev
8286)
+++ trunk/rental/inc/class.uiparty.inc.php 2011-12-14 08:38:19 UTC (rev
8287)
@@ -285,7 +285,7 @@
return;
}
$bofelles = rental_bofellesdata::get_instance();
-
+
$parties = rental_soparty::get_instance()->get();
$result_count = rental_soparty::get_instance()->get_count();
$updated_parties;
@@ -329,24 +329,24 @@
$updated_parties[] = "Number of parties found through
result unit number {$count_result_unit_number}";
$updated_parties[] = "Number of parties that have been
updated {$count}";
- log_sync_messages($updated_parties);
+ $this->log_sync_messages($updated_parties);
}
}
- private function log_sync_messages($messages) {
-
- $msgs = array_merge(
- array('---------------Messages-------------------'),
- $messages
- );
-
- //use PHPGW tmp-catalog to store log-file
- $path = $GLOBALS['phpgw_info']['server']['temp_dir'];
-
- //Write to the log-file
- $date_now = date('Y-m-d');
- file_put_contents("{$path}/FD_name_sync_{$date_now}.log",
implode(PHP_EOL, $msgs));
- }
+ private function log_sync_messages($messages)
+ {
+ $msgs = array_merge(
+ array('---------------Messages-------------------'),
+ $messages
+ );
+
+ //use PHPGW tmp-catalog to store log-file
+ $path = $GLOBALS['phpgw_info']['server']['temp_dir'];
+
+ //Write to the log-file
+ $date_now = date('Y-m-d');
+ file_put_contents("{$path}/FD_name_sync_{$date_now}.log",
implode(PHP_EOL, $msgs));
+ }
/**
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [8287] rental: typo,
Sigurd Nes <=