]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Process.php
Merge pull request #8566 from annando/write-tags
[friendica.git] / src / Model / Process.php
index 7c9f886dfa15e02c95f854f6947b050b41c7bc44..18b5f785a1a619ede1c4609904ff3a83cfbd52dd 100644 (file)
@@ -1,14 +1,31 @@
 <?php
 /**
- * @file src/Model/Process.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/>.
+ *
  */
+
 namespace Friendica\Model;
 
 use Friendica\Database\DBA;
 use Friendica\Util\DateTimeFormat;
 
 /**
- * @brief functions for interacting with a process
+ * functions for interacting with a process
  */
 class Process
 {
@@ -68,7 +85,7 @@ class Process
                                self::deleteByPid($process['pid']);
                        }
                }
-
+               DBA::close($processes);
                DBA::commit();
        }
 }