Completed
Push — 14.2 ( e07840...cec2da )
by Ralf
83:18 queued 52:04
created
addressbook/inc/class.addressbook_sql.inc.php 1 patch
Doc Comments   +8 added lines, -16 removed lines patch added patch discarded remove patch
@@ -60,7 +60,6 @@  discard block
 block discarded – undo
60 60
 	/**
61 61
 	 * Constructor
62 62
 	 *
63
-	 * @param egw_db $db=null
64 63
 	 */
65 64
 	function __construct(egw_db $db=null)
66 65
 	{
@@ -244,18 +243,15 @@  discard block
 block discarded – undo
244 243
 	 * For a union-query you call search for each query with $start=='UNION' and one more with only $order_by and $start set to run the union-query.
245 244
 	 *
246 245
 	 * @param array/string $criteria array of key and data cols, OR a SQL query (content for WHERE), fully quoted (!)
247
-	 * @param boolean/string/array $only_keys=true True returns only keys, False returns all cols. or
246
+	 * @param boolean/string/array $only_keys True returns only keys, False returns all cols. or
248 247
 	 *	comma seperated list or array of columns to return
249 248
 	 * @param string $order_by='' fieldnames + {ASC|DESC} separated by colons ',', can also contain a GROUP BY (if it contains ORDER BY)
250 249
 	 * @param string/array $extra_cols='' string or array of strings to be added to the SELECT, eg. "count(*) as num"
251 250
 	 * @param string $wildcard='' appended befor and after each criteria
252
-	 * @param boolean $empty=false False=empty criteria are ignored in query, True=empty have to be empty in row
253
-	 * @param string $op='AND' defaults to 'AND', can be set to 'OR' too, then criteria's are OR'ed together
254
-	 * @param mixed $start=false if != false, return only maxmatch rows begining with start, or array($start,$num), or 'UNION' for a part of a union query
255
-	 * @param array $filter=null if set (!=null) col-data pairs, to be and-ed (!) into the query without wildcards
251
+	 * @param array $filter if set (!=null) col-data pairs, to be and-ed (!) into the query without wildcards
256 252
 	 * @param string $join='' sql to do a join, added as is after the table-name, eg. ", table2 WHERE x=y" or
257 253
 	 *	"LEFT JOIN table2 ON (x=y)", Note: there's no quoting done on $join!
258
-	 * @param boolean $need_full_no_count=false If true an unlimited query is run to determine the total number of rows, default false
254
+	 * @param boolean $need_full_no_count If true an unlimited query is run to determine the total number of rows, default false
259 255
 	 * @return boolean/array of matching rows (the row is an array of the cols) or False
260 256
 	 */
261 257
 	function &search($criteria,$only_keys=True,$order_by='',$extra_cols='',$wildcard='',$empty=False,$op='AND',$start=false,$filter=null,$join='',$need_full_no_count=false)
@@ -496,9 +492,8 @@  discard block
 block discarded – undo
496 492
 	 *
497 493
 	 * @param array $uids array of user or group id's for $uid_column='list_owners', or values for $uid_column,
498 494
 	 * 	or whole where array: column-name => value(s) pairs
499
-	 * @param string $uid_column='list_owner' column-name or null to use $uids as where array
500
-	 * @param string $member_attr=null null: no members, 'contact_uid', 'contact_id', 'caldav_name' return members as that attribute
501
-	 * @param boolean|int|array $limit_in_ab=false if true only return members from the same owners addressbook,
495
+	 * @param string $member_attr null: no members, 'contact_uid', 'contact_id', 'caldav_name' return members as that attribute
496
+	 * @param boolean|int|array $limit_in_ab if true only return members from the same owners addressbook,
502 497
 	 * 	if int|array only return members from the given owners addressbook(s)
503 498
 	 * @return array with list_id => array(list_id,list_name,list_owner,...) pairs
504 499
 	 */
@@ -547,7 +542,6 @@  discard block
 block discarded – undo
547 542
 	 *
548 543
 	 * @param string|array $keys list-name or array with column-name => value pairs to specify the list
549 544
 	 * @param int $owner user- or group-id
550
-	 * @param array $contacts=array() contacts to add (only for not yet existing lists!)
551 545
 	 * @param array &$data=array() values for keys 'list_uid', 'list_carddav_name', 'list_name'
552 546
 	 * @return int|boolean integer list_id or false on error
553 547
 	 */
@@ -606,7 +600,7 @@  discard block
 block discarded – undo
606 600
 	 *
607 601
 	 * @param int|array $contact contact_id(s)
608 602
 	 * @param int $list list-id
609
-	 * @param array $existing=null array of existing contact-id(s) of list, to not reread it, eg. array()
603
+	 * @param array $existing array of existing contact-id(s) of list, to not reread it, eg. array()
610 604
 	 * @return false on error
611 605
 	 */
612 606
 	function add2list($contact,$list,array $existing=null)
@@ -648,7 +642,6 @@  discard block
 block discarded – undo
648 642
 	 * Removes one contact from distribution list(s)
649 643
 	 *
650 644
 	 * @param int|array $contact contact_id(s)
651
-	 * @param int $list=null list-id or null to remove from all lists
652 645
 	 * @return false on error
653 646
 	 */
654 647
 	function remove_from_list($contact,$list=null)
@@ -705,7 +698,6 @@  discard block
 block discarded – undo
705 698
 	/**
706 699
 	 * Get ctag (max list_modified as timestamp) for lists
707 700
 	 *
708
-	 * @param int|array $owner=null null for all lists user has access too
709 701
 	 * @return int
710 702
 	 */
711 703
 	function lists_ctag($owner=null)
@@ -762,7 +754,7 @@  discard block
 block discarded – undo
762 754
 	 * Saves a contact, reimplemented to check a given etag and set a uid
763 755
 	 *
764 756
 	 * @param array $keys if given $keys are copied to data before saveing => allows a save as
765
-	 * @param string|array $extra_where=null extra where clause, eg. to check the etag, returns 'nothing_affected' if not affected rows
757
+	 * @param string|array $extra_where extra where clause, eg. to check the etag, returns 'nothing_affected' if not affected rows
766 758
 	 * @return int 0 on success and errno != 0 else
767 759
 	 */
768 760
 	function save($keys = NULL, $extra_where = NULL)
@@ -823,7 +815,7 @@  discard block
 block discarded – undo
823 815
 	 * Read data of a distribution list
824 816
 	 *
825 817
 	 * @param int $list list_id
826
-	 * @return array of data or false if list does not exist
818
+	 * @return boolean of data or false if list does not exist
827 819
 	 */
828 820
 	function read_list($list)
829 821
 	{
Please login to merge, or discard this patch.
addressbook/inc/class.addressbook_tracking.inc.php 1 patch
Doc Comments   +3 added lines, -9 removed lines patch added patch discarded remove patch
@@ -93,12 +93,7 @@  discard block
 block discarded – undo
93 93
 	/**
94 94
 	 * Get a notification-config value
95 95
 	 *
96
-	 * @param string $what
97
-	 * 	- 'copy' array of email addresses notifications should be copied too, can depend on $data
98
-	 *  - 'lang' string lang code for copy mail
99
-	 *  - 'sender' string send email address
100 96
 	 * @param array $data current entry
101
-	 * @param array $old=null old/last state of the entry or null for a new entry
102 97
 	 * @return mixed
103 98
 	 */
104 99
 	function get_config($name,$data,$old=null)
@@ -134,9 +129,8 @@  discard block
 block discarded – undo
134 129
 	 *
135 130
 	 * @internal use only track($data,$old)
136 131
 	 * @param array $data current entry
137
-	 * @param array $old=null old/last state of the entry or null for a new entry
138
-	 * @param boolean $deleted=null can be set to true to let the tracking know the item got deleted or undelted
139
-	 * @param array $changed_fields=null changed fields from ealier call to $this->changed_fields($data,$old), to not compute it again
132
+	 * @param boolean $deleted can be set to true to let the tracking know the item got deleted or undelted
133
+	 * @param array $changed_fields changed fields from ealier call to $this->changed_fields($data,$old), to not compute it again
140 134
 	 * @return int number of log-entries made
141 135
 	 */
142 136
 	protected function save_history(array $data,array $old=null,$deleted=null,array $changed_fields=null)
@@ -196,7 +190,7 @@  discard block
 block discarded – undo
196 190
 	 *
197 191
 	 * @param array $data
198 192
 	 * @param array $old
199
-	 * @param boolean $deleted=null can be set to true to let the tracking know the item got deleted or undelted
193
+	 * @param boolean $deleted can be set to true to let the tracking know the item got deleted or undelted
200 194
 	 * @param int|string $receiver nummeric account_id or email address
201 195
 	 * @return string
202 196
 	 */
Please login to merge, or discard this patch.
addressbook/inc/class.addressbook_ui.inc.php 1 patch
Doc Comments   +9 added lines, -13 removed lines patch added patch discarded remove patch
@@ -112,9 +112,8 @@  discard block
 block discarded – undo
112 112
 	/**
113 113
 	 * List contacts of an addressbook
114 114
 	 *
115
-	 * @param array $content=null submitted content
116
-	 * @param string $msg=null	message to show
117
-	 * @param boolean $do_email=false do an email-selection popup or the regular index-page
115
+	 * @param array $content submitted content
116
+	 * @param boolean $do_email do an email-selection popup or the regular index-page
118 117
 	 */
119 118
 	function index($content=null,$msg=null,$do_email=false)
120 119
 	{
@@ -353,8 +352,8 @@  discard block
 block discarded – undo
353 352
 	/**
354 353
 	 * Get actions / context menu items
355 354
 	 *
356
-	 * @param string $tid_filter=null
357
-	 * @param string $org_view=null
355
+	 * @param string $tid_filter
356
+	 * @param string $org_view
358 357
 	 * @return array see nextmatch_widget::get_actions()
359 358
 	 */
360 359
 	public function get_actions($tid_filter=null, $org_view=null)
@@ -762,8 +761,7 @@  discard block
 block discarded – undo
762 761
 	/**
763 762
 	 * Email address-selection popup
764 763
 	 *
765
-	 * @param array $content=null submitted content
766
-	 * @param string $msg=null	message to show
764
+	 * @param array $content submitted content
767 765
 	 */
768 766
 	function emailpopup($content=null,$msg=null)
769 767
 	{
@@ -952,7 +950,7 @@  discard block
 block discarded – undo
952 950
 	 * @param int &$failed number of failed actions (not enought permissions)
953 951
 	 * @param string &$action_msg translated verb for the actions, to be used in a message like %1 contacts 'deleted'
954 952
 	 * @param string/array $session_name 'index' or 'email', or array with session-data depending if we are in the main list or the popup
955
-	 * @return boolean true if all actions succeded, false otherwise
953
+	 * @return null|boolean true if all actions succeded, false otherwise
956 954
 	 */
957 955
 	function action($action,$checked,$use_all,&$success,&$failed,&$action_msg,$session_name,&$msg, $checkboxes = NULL)
958 956
 	{
@@ -1303,7 +1301,7 @@  discard block
 block discarded – undo
1303 1301
 	 * @param array &$query
1304 1302
 	 * @param array &$rows returned rows/cups
1305 1303
 	 * @param array &$readonlys eg. to disable buttons based on acl
1306
-	 * @param boolean $id_only=false if true only return (via $rows) an array of contact-ids, dont save state to session
1304
+	 * @param boolean $id_only if true only return (via $rows) an array of contact-ids, dont save state to session
1307 1305
 	 * @return int total number of contacts matching the selection
1308 1306
 	 */
1309 1307
 	function get_rows(&$query,&$rows,&$readonlys,$id_only=false)
@@ -1798,9 +1796,7 @@  discard block
 block discarded – undo
1798 1796
 	/**
1799 1797
 	* Edit a contact
1800 1798
 	*
1801
-	* @param array $content=null submitted content
1802
-	* @param int $_GET['contact_id'] contact_id mainly for popup use
1803
-	* @param bool $_GET['makecp'] true if you want to copy the contact given by $_GET['contact_id']
1799
+	* @param array $content submitted content
1804 1800
 	*/
1805 1801
 	function edit($content=null)
1806 1802
 	{
@@ -2375,7 +2371,7 @@  discard block
 block discarded – undo
2375 2371
 	 *
2376 2372
 	 * @param array $values contact values from form
2377 2373
 	 * @param string $name name of changed value, eg. "email"
2378
-	 * @param int $own_id=0 own contact id, to not check against it
2374
+	 * @param int $own_id own contact id, to not check against it
2379 2375
 	 * @return array with keys 'msg' => "EMail address exists, do you want to open contact?" (or null if not existing)
2380 2376
 	 * 	'data' => array of id => "full name (addressbook)" pairs
2381 2377
 	 *  'fileas_options'
Please login to merge, or discard this patch.
admin/admin-cli.php 1 patch
Doc Comments   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -299,8 +299,8 @@  discard block
 block discarded – undo
299 299
 /**
300 300
  * Give a usage message and exit
301 301
  *
302
- * @param string $action=null
303
- * @param int $ret=0 exit-code
302
+ * @param string $action
303
+ * @param int $ret exit-code
304 304
  */
305 305
 function usage($action=null,$ret=0)
306 306
 {
@@ -404,7 +404,7 @@  discard block
 block discarded – undo
404 404
  * Edit or add a user to EGroupware. If you specify groups, they *replace* the exiting memberships!
405 405
  *                    1:                     2:             3:                         4:         5:        6:       7:    8:                                         9:                                 10:                            11:                                  12
406 406
  * @param array $args admin-account[@domain],admin-password,account[=new-account-name],first-name,last-name,password,email,expires{never(default)|YYYY-MM-DD|already},can-change-pw{true(default)|false},anon-user{true|false(default)},primary-group{Default(default)|...}[,groups,...][,homedirectory,loginshell]
407
- * @param boolean $run_addaccount_hook=null default run hook depending on account existence, true=allways run addaccount hook
407
+ * @param boolean $run_addaccount_hook default run hook depending on account existence, true=allways run addaccount hook
408 408
  */
409 409
 function do_edit_user($args,$run_addaccount_hook=null)
410 410
 {
@@ -453,8 +453,8 @@  discard block
 block discarded – undo
453 453
  * Delete a given acount from eGW
454 454
  *
455 455
  * @param int/string $account account-name of -id
456
- * @param int/string $new_user=0 for users only: account to move the entries too
457
- * @param boolean $is_user=true are we called for a user or group
456
+ * @param int/string $new_user for users only: account to move the entries too
457
+ * @param boolean $is_user are we called for a user or group
458 458
  * @return int 0 on success, 2-4 otherwise (see source)
459 459
  */
460 460
 function do_delete_account($account,$new_user=0,$is_user=true)
@@ -523,7 +523,6 @@  discard block
 block discarded – undo
523 523
 /**
524 524
  * Read the IMAP ACLs
525 525
  *
526
- * @param array $args admin-account[@domain],admin-password,accout_lid[,pw]
527 526
  * @return int 0 on success
528 527
  */
529 528
 function do_subscribe_other($account_lid,$pw=null)
Please login to merge, or discard this patch.
admin/inc/class.admin_acl.inc.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -283,8 +283,7 @@  discard block
 block discarded – undo
283 283
 	 * Check if current user has access to ACL setting of a given location
284 284
 	 *
285 285
 	 * @param int $account_id numeric account-id
286
-	 * @param int|string $location=null numeric account-id or "run"
287
-	 * @param boolean $throw=true if true, throw an exception if no access, instead of just returning false
286
+	 * @param int|string $location numeric account-id or "run"
288 287
 	 * @return boolean true if access is granted, false if notification_bo
289 288
 	 * @throws egw_exception_no_permission
290 289
 	 */
@@ -330,7 +329,7 @@  discard block
 block discarded – undo
330 329
 	 * Checks access and throws an exception, if a change is attempted without proper access
331 330
 	 *
332 331
 	 * @param string|array $ids "$app:$account:$location" string used as row-id in list
333
-	 * @param int $rights=null null to delete, or new rights
332
+	 * @param int $rights null to delete, or new rights
334 333
 	 * @throws egw_exception_no_permission
335 334
 	 */
336 335
 	public static function ajax_change_acl($ids, $rights=null)
Please login to merge, or discard this patch.
admin/inc/class.admin_applications.inc.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -185,6 +185,10 @@
 block discarded – undo
185 185
 		$order[$next_app] = $old_pos;
186 186
 	}
187 187
 
188
+	/**
189
+	 * @param integer $old_key
190
+	 * @param boolean $reverse
191
+	 */
188 192
 	function find_next_key($array,$old_key,$reverse)
189 193
 	{
190 194
 		//error_log("find_next_key($old_key ".$GLOBALS['egw']->applications->id2name($old_key)." position:".$array[$old_key].",".var_dump($reverse).")");
Please login to merge, or discard this patch.
admin/inc/class.admin_cmd.inc.php 1 patch
Doc Comments   +16 added lines, -20 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 	/**
101 101
 	 * Executes the command
102 102
 	 *
103
-	 * @param boolean $check_only=false only run the checks (and throw the exceptions), but not the command itself
103
+	 * @param boolean $check_only only run the checks (and throw the exceptions), but not the command itself
104 104
 	 * @return string success message
105 105
 	 * @throws Exception()
106 106
 	 */
@@ -141,10 +141,10 @@  discard block
 block discarded – undo
141 141
 	 *
142 142
 	 * The command will be written to the database queue, incl. its scheduled start time or execution status
143 143
 	 *
144
-	 * @param int $time=null timestamp to run the command or null to run it immediatly
145
-	 * @param boolean $set_modifier=null should the current user be set as modifier, default true
146
-	 * @param booelan $skip_checks=false do not yet run the checks for a scheduled command
147
-	 * @param boolean $dry_run=false only run checks, NOT command itself
144
+	 * @param boolean $set_modifier should the current user be set as modifier, default true
145
+	 * @param booelan $skip_checks do not yet run the checks for a scheduled command
146
+	 * @param boolean $dry_run only run checks, NOT command itself
147
+	 * @param integer $time
148 148
 	 * @return mixed return value of the command
149 149
 	 * @throws Exceptions on error
150 150
 	 */
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
 	/**
283 283
 	 * Saving the object to the database
284 284
 	 *
285
-	 * @param boolean $set_modifier=true set the current user as modifier or 0 (= run by the system)
285
+	 * @param boolean $set_modifier set the current user as modifier or 0 (= run by the system)
286 286
 	 * @return boolean true on success, false otherwise
287 287
 	 */
288 288
 	function save($set_modifier=true)
@@ -438,15 +438,12 @@  discard block
 block discarded – undo
438 438
 	 *
439 439
 	 * @static
440 440
 	 * @param array/string $criteria array of key and data cols, OR a SQL query (content for WHERE), fully quoted (!)
441
-	 * @param boolean/string/array $only_keys=true True returns only keys, False returns all cols. or
441
+	 * @param boolean/string/array $only_keys True returns only keys, False returns all cols. or
442 442
 	 *	comma seperated list or array of columns to return
443 443
 	 * @param string $order_by='' fieldnames + {ASC|DESC} separated by colons ',', can also contain a GROUP BY (if it contains ORDER BY)
444 444
 	 * @param string/array $extra_cols='' string or array of strings to be added to the SELECT, eg. "count(*) as num"
445 445
 	 * @param string $wildcard='' appended befor and after each criteria
446
-	 * @param boolean $empty=false False=empty criteria are ignored in query, True=empty have to be empty in row
447
-	 * @param string $op='AND' defaults to 'AND', can be set to 'OR' too, then criteria's are OR'ed together
448
-	 * @param mixed $start=false if != false, return only maxmatch rows begining with start, or array($start,$num), or 'UNION' for a part of a union query
449
-	 * @param array $filter=null if set (!=null) col-data pairs, to be and-ed (!) into the query without wildcards
446
+	 * @param array $filter if set (!=null) col-data pairs, to be and-ed (!) into the query without wildcards
450 447
 	 * @return array
451 448
 	 */
452 449
 	static function &search($criteria,$only_keys=True,$order_by='',$extra_cols='',$wildcard='',$empty=False,$op='AND',$start=false,$filter=null)
@@ -567,8 +564,8 @@  discard block
 block discarded – undo
567 564
 	/**
568 565
 	 * Check if the creator is still admin and has the neccessary admin rights
569 566
 	 *
570
-	 * @param string $extra_acl=null further admin rights to check, eg. 'account_access'
571
-	 * @param int $extra_deny=null further admin rights to check, eg. 16 = deny edit accounts
567
+	 * @param string $extra_acl further admin rights to check, eg. 'account_access'
568
+	 * @param integer $extra_deny further admin rights to check, eg. 16 = deny edit accounts
572 569
 	 * @throws egw_exception_no_admin
573 570
 	 */
574 571
 	protected function _check_admin($extra_acl=null,$extra_deny=null)
@@ -619,7 +616,7 @@  discard block
 block discarded – undo
619 616
 	 * parse account name or id
620 617
 	 *
621 618
 	 * @param string/int $account account_id or account_lid
622
-	 * @param boolean $allow_only_user=null true=only user, false=only groups, default both
619
+	 * @param boolean $allow_only_user true=only user, false=only groups, default both
623 620
 	 * @return int/array account_id
624 621
 	 * @throws egw_exception_wrong_userinput(lang("Unknown account: %1 !!!",$account),15);
625 622
 	 * @throws egw_exception_wrong_userinput(lang("Wrong account type: %1 is NO %2 !!!",$account,$allow_only_user?lang('user'):lang('group')),15);
@@ -646,7 +643,7 @@  discard block
 block discarded – undo
646 643
 	 * parse account names or ids
647 644
 	 *
648 645
 	 * @param string/int/array $accounts array or comma-separated account_id's or account_lid's
649
-	 * @param boolean $allow_only_user=null true=only user, false=only groups, default both
646
+	 * @param boolean $allow_only_user true=only user, false=only groups, default both
650 647
 	 * @return array of account_id's or null if none specified
651 648
 	 * @throws egw_exception_wrong_userinput(lang("Unknown account: %1 !!!",$account),15);
652 649
 	 * @throws egw_exception_wrong_userinput(lang("Wrong account type: %1 is NO %2 !!!",$account,$allow_only?lang('user'):lang('group')),15);
@@ -690,7 +687,7 @@  discard block
 block discarded – undo
690 687
 	 * Parse a boolean value
691 688
 	 *
692 689
 	 * @param string|boolean|int $value
693
-	 * @param boolean $default=null
690
+	 * @param boolean $default
694 691
 	 * @return boolean
695 692
 	 * @throws egw_exception_wrong_userinput(lang('Invalid value "%1" use yes or no!',$value),998);
696 693
 	 */
@@ -759,7 +756,7 @@  discard block
 block discarded – undo
759 756
 	 * Instanciated acl class
760 757
 	 *
761 758
 	 * @todo acl class instanciation for setup
762
-	 * @param int $account=null account_id the class needs to be instanciated for, default need only account-independent methods
759
+	 * @param int $account account_id the class needs to be instanciated for, default need only account-independent methods
763 760
 	 * @throws egw_exception_assertion_failed(lang('%1 class not instanciated','acl'),999);
764 761
 	 */
765 762
 	protected function _instanciate_acl($account=null)
@@ -920,7 +917,7 @@  discard block
 block discarded – undo
920 917
 	 * Read data of a remote instance
921 918
 	 *
922 919
 	 * @param array/int $keys
923
-	 * @return array
920
+	 * @return string
924 921
 	 */
925 922
 	static function read_remote($keys)
926 923
 	{
@@ -1000,7 +997,7 @@  discard block
 block discarded – undo
1000 997
 	 * Check if string is a md5 hash (32 chars of 0-9 or a-f)
1001 998
 	 *
1002 999
 	 * @param string $str
1003
-	 * @return boolean
1000
+	 * @return integer
1004 1001
 	 */
1005 1002
 	static function is_md5($str)
1006 1003
 	{
@@ -1046,7 +1043,6 @@  discard block
 block discarded – undo
1046 1043
 	/**
1047 1044
 	 * Return a rand string, eg. to generate passwords
1048 1045
 	 *
1049
-	 * @param int $len=16
1050 1046
 	 * @return string
1051 1047
 	 */
1052 1048
 	static function randomstring($len=16)
Please login to merge, or discard this patch.
admin/inc/class.admin_cmd_account_app.inc.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,9 +18,8 @@  discard block
 block discarded – undo
18 18
 	/**
19 19
 	 * Constructor
20 20
 	 *
21
-	 * @param boolean/array $allow true=give rights, false=remove rights, or array with all 3 params
22
-	 * @param string/int $account=null account name or id
23
-	 * @param array/string $apps=null app-names
21
+	 * @param boolean $allow true=give rights, false=remove rights, or array with all 3 params
22
+	 * @param string/int $account account name or id
24 23
 	 */
25 24
 	function __construct($allow,$account=null,$apps=null)
26 25
 	{
@@ -42,7 +41,7 @@  discard block
 block discarded – undo
42 41
 	/**
43 42
 	 * give or remove run rights from a given account and application
44 43
 	 * 
45
-	 * @param boolean $check_only=false only run the checks (and throw the exceptions), but not the command itself
44
+	 * @param boolean $check_only only run the checks (and throw the exceptions), but not the command itself
46 45
 	 * @return string success message
47 46
 	 * @throws egw_exception_no_admin
48 47
 	 * @throws egw_exception_wrong_userinput(lang("Unknown account: %1 !!!",$this->account),15);
Please login to merge, or discard this patch.
admin/inc/class.admin_cmd_change_pw.inc.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 	 * Constructor
20 20
 	 *
21 21
 	 * @param string/int/array $account account name or id, or array with all parameters
22
-	 * @param string $password=null password
22
+	 * @param string $password password
23 23
 	 */
24 24
 	function __construct($account,$password=null)
25 25
 	{
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 	/**
37 37
 	 * change the password of a given user
38 38
 	 *
39
-	 * @param boolean $check_only=false only run the checks (and throw the exceptions), but not the command itself
39
+	 * @param boolean $check_only only run the checks (and throw the exceptions), but not the command itself
40 40
 	 * @return string success message
41 41
 	 * @throws egw_exception_no_admin
42 42
 	 * @throws egw_exception_wrong_userinput(lang("Unknown account: %1 !!!",$this->account),15);
Please login to merge, or discard this patch.