Bernd Wurst commited on 2023-09-01 10:16:48
Zeige 1 geänderte Dateien mit 2 Einfügungen und 2 Löschungen.
| ... | ... |
@@ -226,7 +226,7 @@ function new_foreign_user($handle) |
| 226 | 226 |
DEBUG("using config file ".$userconfig);
|
| 227 | 227 |
if (! is_file($userconfig)) {
|
| 228 | 228 |
DEBUG("user-config does not exist, creating new one");
|
| 229 |
- file_put_contents($userconfig, '# user '.$handle."\n"); |
|
| 229 |
+ file_put_contents($userconfig, '# foreign user '.$handle."\n"); |
|
| 230 | 230 |
set_user_include(); |
| 231 | 231 |
} elseif (in_array($handle, list_foreign_users())) {
|
| 232 | 232 |
# user ist schon eingetragen |
| ... | ... |
@@ -236,7 +236,7 @@ function new_foreign_user($handle) |
| 236 | 236 |
} |
| 237 | 237 |
git_wrapper('add '.$userconfig);
|
| 238 | 238 |
|
| 239 |
- git_wrapper('commit --allow-empty -m "added new key for '.$handle.'"');
|
|
| 239 |
+ git_wrapper('commit --allow-empty -m "added new foreign user for '.$handle.'"');
|
|
| 240 | 240 |
git_wrapper('push');
|
| 241 | 241 |
} |
| 242 | 242 |
|
| 243 | 243 |