Browse Source

Some more added lines

pull/8135/head
Michael 1 month ago
parent
commit
cdbc94a9e1
5 changed files with 14 additions and 0 deletions
  1. +1
    -0
      src/Core/System.php
  2. +8
    -0
      src/Core/Worker.php
  3. +3
    -0
      src/Object/Image.php
  4. +1
    -0
      src/Worker/Cron.php
  5. +1
    -0
      src/Worker/DBClean.php

+ 1
- 0
src/Core/System.php View File

@@ -22,6 +22,7 @@ class System
{
/**
* Returns a string with a callstack. Can be used for logging.
*
* @param integer $depth optional, default 4
* @return string
*/

+ 8
- 0
src/Core/Worker.php View File

@@ -534,6 +534,7 @@ class Worker

/**
* fix the queue entry if the worker process died
*
* @return void
* @throws \Exception
*/
@@ -953,6 +954,7 @@ class Worker

/**
* Removes a workerqueue entry from the current process
*
* @return void
* @throws \Exception
*/
@@ -968,6 +970,7 @@ class Worker

/**
* Call the front end worker
*
* @return void
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
*/
@@ -983,6 +986,7 @@ class Worker

/**
* Call the front end worker if there aren't any active
*
* @return void
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
*/
@@ -1034,6 +1038,7 @@ class Worker

/**
* Removes long running worker processes
*
* @return void
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
*/
@@ -1052,6 +1057,7 @@ class Worker

/**
* Runs the cron processes
*
* @return void
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
*/
@@ -1071,6 +1077,7 @@ class Worker

/**
* Spawns a new worker
*
* @param bool $do_cron
* @return void
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
@@ -1224,6 +1231,7 @@ class Worker

/**
* Defers the current worker entry
*
* @return boolean had the entry been deferred?
*/
public static function defer()

+ 3
- 0
src/Object/Image.php View File

@@ -58,6 +58,7 @@ class Image

/**
* Destructor
*
* @return void
*/
public function __destruct()
@@ -672,6 +673,7 @@ class Image

/**
* supported mimetypes and corresponding file extensions
*
* @return array
* @deprecated in version 2019.12 please use Util\Images::supportedTypes() instead.
*/
@@ -682,6 +684,7 @@ class Image

/**
* Maps Mime types to Imagick formats
*
* @return array With with image formats (mime type as key)
* @deprecated in version 2019.12 please use Util\Images::getFormatsMap() instead.
*/

+ 1
- 0
src/Worker/Cron.php View File

@@ -138,6 +138,7 @@ class Cron

/**
* Update public contacts
*
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
*/
private static function updatePublicContacts() {

+ 1
- 0
src/Worker/DBClean.php View File

@@ -43,6 +43,7 @@ class DBClean {

/**
* Remove orphaned database entries
*
* @param integer $stage What should be deleted?
*
* Values for $stage:

Loading…
Cancel
Save