]> git.mxchange.org Git - friendica.git/blobdiff - mod/events.php
"print_r" in logging replaced / obsolete stuff removed
[friendica.git] / mod / events.php
index ffe67f67fededc099898f0157159120936157d80..437cc160b44493b3b6a0aac0808a35d36888a6e8 100644 (file)
@@ -1,6 +1,22 @@
 <?php
 /**
- * @file mod/events.php
+ * @copyright Copyright (C) 2020, Friendica
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+ *
  * The events module
  */
 
@@ -50,7 +66,7 @@ function events_init(App $a)
 function events_post(App $a)
 {
 
-       Logger::log('post: ' . print_r($_REQUEST, true), Logger::DATA);
+       Logger::debug('post', ['request' => $_REQUEST]);
 
        if (!local_user()) {
                return;