[Fusionforge-commits] r19087 - trunk/src/common/include
Marc-Etienne VARGENAU
vargenau at fusionforge.org
Thu Feb 6 14:39:15 CET 2014
Author: vargenau
Date: 2014-02-06 14:39:15 +0100 (Thu, 06 Feb 2014)
New Revision: 19087
Modified:
trunk/src/common/include/User.class.php
Log:
Use tabs
Modified: trunk/src/common/include/User.class.php
===================================================================
--- trunk/src/common/include/User.class.php 2014-02-06 10:56:13 UTC (rev 19086)
+++ trunk/src/common/include/User.class.php 2014-02-06 13:39:15 UTC (rev 19087)
@@ -1195,12 +1195,12 @@
return $this->data_array['title'];
}
- /**
- * getGroups - get an array of groups this user is a member of.
- *
- * @param bool $onlylocal
- * @return array Array of groups.
- */
+ /**
+ * getGroups - get an array of groups this user is a member of.
+ *
+ * @param bool $onlylocal
+ * @return array Array of groups.
+ */
function &getGroups($onlylocal = true) {
$ids = array();
foreach ($this->getRoles() as $r) {
@@ -1227,12 +1227,12 @@
return $this->data_array['authorized_keys'];
}
- /**
- * addAuthorizedKey - add the SSH authorized key for the user.
- *
- * @param string $key
- * @return boolean success.
- */
+ /**
+ * addAuthorizedKey - add the SSH authorized key for the user.
+ *
+ * @param string $key
+ * @return boolean success.
+ */
function addAuthorizedKey($key) {
$key = trim($key);
$key = preg_replace("/\r\n/", "\n", $key); // Convert to Unix EOL
More information about the Fusionforge-commits
mailing list