Commit 4500ebb
committed
Initialize user from session
If the import script is run from the command line, there is no session,
and the edit is still credited to 127.0.0.1. However, if there is a
session – for example, if the import is run from a special page (filbertkm#25) –
this ensures that the correct user is used.1 parent 3c79baa commit 4500ebb
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments