Add DCO and remove forum_time which is deprecated
Jeremy D

Jeremy D commited on 2022-04-04 18:57:42
Showing 3 changed files, with 27 additions and 2 deletions.

... ...
@@ -0,0 +1,25 @@
1
+Developer's Certificate of Origin 1.1
2
+
3
+      By making a contribution to this project, I certify that:
4
+
5
+      (a) The contribution was created in whole or in part by me and I
6
+          have the right to submit it under the open source license
7
+          indicated in the file; or
8
+
9
+      (b) The contribution is based upon previous work that, to the best
10
+          of my knowledge, is covered under an appropriate open source
11
+          license and I have the right under that license to submit that
12
+          work with modifications, whether created in whole or in part
13
+          by me, under the same open source license (unless I am
14
+          permitted to submit under a different license), as indicated
15
+          in the file; or
16
+
17
+      (c) The contribution was provided directly to me by some other
18
+          person who certified (a), (b) or (c) and I have not modified
19
+          it.
20
+
21
+      (d) I understand and agree that this project and the contribution
22
+          are public and that a record of the contribution (including all
23
+          personal information I submit with it, including my sign-off) is
24
+          maintained indefinitely and may be redistributed consistent with
25
+          this project or the open source license(s) involved.
0 26
\ No newline at end of file
... ...
@@ -870,7 +870,7 @@ class SFSA
870 870
 				'type' => $this->SFSclass->txt('sfs_log_types_' . $row['id_type']),
871 871
 				'time' => timeformat($row['log_time']),
872 872
 				'url' => preg_replace('~http(s)?://~i', 'hxxp\\1://', $row['url']),
873
-				'timestamp' => forum_time(true, $row['log_time']),
873
+				'timestamp' => $row['log_time'],
874 874
 				'member_link' => $row['id_member'] ? '<a href="' . $scripturl . '?action=profile;u=' . $row['id_member'] . '">' . $row['real_name'] . '</a>' : (empty($row['real_name']) ? ($this->SFSclass->txt('guest') . (!empty($row['extra']['member_acted']) ? ' (' . $row['extra']['member_acted'] . ')' : '')) : $row['real_name']),
875 875
 				'username' => $row['username'],
876 876
 				'email' => $row['email'],
... ...
@@ -690,7 +690,7 @@ class SFSL
690 690
 			'type' => $this->SFSclass->txt('sfs_log_types_' . $row['id_type']),
691 691
 			'time' => timeformat($row['log_time']),
692 692
 			'url' => preg_replace('~http(s)?://~i', 'hxxp\\1://', $row['url']),
693
-			'timestamp' => forum_time(true, $row['log_time']),
693
+			'timestamp' => $row['log_time'],
694 694
 			'member_link' => $row['id_member'] ? '<a href="' . $scripturl . '?action=profile;u=' . $row['id_member'] . '">' . $row['real_name'] . '</a>' : (empty($row['real_name']) ? ($this->SFSclass->txt('guest') . (!empty($row['extra']['member_acted']) ? ' (' . $row['extra']['member_acted'] . ')' : '')) : $row['real_name']),
695 695
 			'username' => $row['username'],
696 696
 			'email' => $row['email'],
697 697