← Back to team overview

mahara-contributors team mailing list archive

[Bug 1857366] [NEW] Allow Artefact File save_file() function to save image as profileicon if needed

 

Public bug reported:

Currently the save_file() function detects if the file is an image and
saves it thus.

But if you want the image file to be saved as a profile icon it can't do
that.

So will adjust it so that if you pass in 'profileicon' as artefacttype
in the $data object it will save the image as profileicon instead

** Affects: mahara
     Importance: Wishlist
         Status: In Progress

** Changed in: mahara
   Importance: Undecided => Wishlist

** Changed in: mahara
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1857366

Title:
  Allow Artefact File save_file() function to save image as profileicon
  if needed

Status in Mahara:
  In Progress

Bug description:
  Currently the save_file() function detects if the file is an image and
  saves it thus.

  But if you want the image file to be saved as a profile icon it can't
  do that.

  So will adjust it so that if you pass in 'profileicon' as artefacttype
  in the $data object it will save the image as profileicon instead

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1857366/+subscriptions


Follow ups